Bug 747408 - Increase default sampling rate to 1ms for profiling fennec. r=jmuizelaar a=akeybl

This commit is contained in:
Benoit Girard 2012-04-20 11:31:09 -04:00
Родитель 4beb424615
Коммит a1976bd45c
1 изменённых файлов: 5 добавлений и 2 удалений

Просмотреть файл

@ -102,9 +102,12 @@ extern bool stack_key_initialized;
// In one sample measurement on Galaxy Nexus, out of about 700 backtraces,
// 60 of them took more than 25ms, and the average and standard deviation
// were 6.17ms and 9.71ms respectively.
#define PROFILE_DEFAULT_INTERVAL 25
// For now since we don't support stackwalking let's use 1ms since it's fast
// enough.
#define PROFILE_DEFAULT_INTERVAL 1
#else
#define PROFILE_DEFAULT_INTERVAL 10
#define PROFILE_DEFAULT_INTERVAL 1
#endif
#define PROFILE_DEFAULT_FEATURES NULL
#define PROFILE_DEFAULT_FEATURE_COUNT 0