diff options
author | Alexander Gololobov <davenger@yandex-team.com> | 2022-02-10 16:47:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:37 +0300 |
commit | 39608cdb86363c75ce55b2b9a69841c3b71f22cf (patch) | |
tree | 4ec132c1665bd4d68e3628aa18d937c70d32413b /library/cpp/execprofile/profile.h | |
parent | 54295b9bd4dc45c54d804084fd846d945148a7f0 (diff) | |
download | ydb-39608cdb86363c75ce55b2b9a69841c3b71f22cf.tar.gz |
Restoring authorship annotation for Alexander Gololobov <davenger@yandex-team.com>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/execprofile/profile.h')
-rw-r--r-- | library/cpp/execprofile/profile.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/execprofile/profile.h b/library/cpp/execprofile/profile.h index ccb8866656..bd90aad3aa 100644 --- a/library/cpp/execprofile/profile.h +++ b/library/cpp/execprofile/profile.h @@ -1,17 +1,17 @@ #pragma once - -#include <stdio.h> - -// Starts capturing execution samples -void BeginProfiling(); - -// Resets captured execution samples -void ResetProfile(); - -// Pauses capturing execution samples and dumps them to the file -// Samples are not cleared so that profiling can be continued by calling BeginProfiling() -// or it can be started from scratch by calling ResetProfile() and then BeginProfiling() -void EndProfiling(FILE* out); - -// Dumps the profile to default file (basename.pid.N.profile) -void EndProfiling(); + +#include <stdio.h> + +// Starts capturing execution samples +void BeginProfiling(); + +// Resets captured execution samples +void ResetProfile(); + +// Pauses capturing execution samples and dumps them to the file +// Samples are not cleared so that profiling can be continued by calling BeginProfiling() +// or it can be started from scratch by calling ResetProfile() and then BeginProfiling() +void EndProfiling(FILE* out); + +// Dumps the profile to default file (basename.pid.N.profile) +void EndProfiling(); |