Bug 1634216 - PROFILE_ENTRY_SIZE = 8, as expected by the Gecko Profiler - r=gregtatum

Differential Revision: https://phabricator.services.mozilla.com/D73174
This commit is contained in:
Gerald Squelart 2020-04-30 23:20:43 +00:00
Родитель e1fc47fa66
Коммит 983fefb005
1 изменённых файлов: 2 добавлений и 3 удалений

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

@ -88,9 +88,8 @@ const {
openFilePickerForObjdir, openFilePickerForObjdir,
} = require("devtools/client/performance-new/browser"); } = require("devtools/client/performance-new/browser");
// sizeof(double) + sizeof(char) // The Gecko Profiler interprets the "entries" setting as 8 bytes per entry.
// http://searchfox.org/mozilla-central/rev/e8835f52eff29772a57dca7bcc86a9a312a23729/tools/profiler/core/ProfileEntry.h#73 const PROFILE_ENTRY_SIZE = 8;
const PROFILE_ENTRY_SIZE = 9;
/** /**
* @typedef {{ name: string, id: string, title: string }} ThreadColumn * @typedef {{ name: string, id: string, title: string }} ThreadColumn