Skip to content

Fix wrong profiler measurements due to overflow.#7641

Merged
asfernandes merged 2 commits intomasterfrom
work/profiler-overflow
Jun 19, 2023
Merged

Fix wrong profiler measurements due to overflow.#7641
asfernandes merged 2 commits intomasterfrom
work/profiler-overflow

Conversation

@asfernandes
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/plugins/profiler/Profiler.cpp Outdated
void ProfilerPlugin::init(ThrowStatusExceptionWrapper* status, IAttachment* attachment, FB_UINT64 ticksFrequency)
{
userAttachment = attachment;
::ticksFrequency = (SINT64) ticksFrequency;
Copy link
Copy Markdown
Member

@dyemanov dyemanov Jun 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just nitpicking, but I'd prefer to rename the argument (ticksFreq or frequency) to avoid the :: scope specifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants