diff options
author | Benoit Jacob <benoitjacob@google.com> | 2015-07-06 18:23:37 -0400 |
---|---|---|
committer | Benoit Jacob <benoitjacob@google.com> | 2015-07-06 18:23:37 -0400 |
commit | cb3e140fae8e2be7cc5043d7c4f217bb57df5250 (patch) | |
tree | 6f2e51cfb37d65dba3e25b8888593d296b06129c | |
parent | 321f69487c9244350b5e5b7d8fd68e56aa9eb6c8 (diff) | |
download | gemmlowp-cb3e140fae8e2be7cc5043d7c4f217bb57df5250.tar.gz |
fix profiler documentation
-rw-r--r-- | profiling/profiler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profiling/profiler.h b/profiling/profiler.h index 6e59f95..f99f6ec 100644 --- a/profiling/profiler.h +++ b/profiling/profiler.h @@ -38,20 +38,20 @@ // ===== // // 0. Enable profiling by defining GEMMLOWP_PROFILING. When profiling is -// not enabled, profiling instrumentation from common.h +// not enabled, profiling instrumentation from instrumentation.h // (ScopedProfilingLabel, RegisterCurrentThreadForProfiling) // is still defined but does nothing. On the other hand, // when profiling is not enabled, it is an error to #include the // present file. // // 1. Each thread can opt in to profiling by calling -// RegisterCurrentThreadForProfiling() defined in common.h. +// RegisterCurrentThreadForProfiling() defined in instrumentation.h. // This can be done at any time, before or during profiling. // No sample will be collected from a thread until // it has called RegisterCurrentThreadForProfiling(). // // 2. Instrument your code to be profiled with ScopedProfilingLabel, -// which is a RAII helper defined in common.h. The identifier +// which is a RAII helper defined in instrumentation.h. The identifier // names (some_label, etc) do not matter; what will show up // in the profile is the string passed to the constructor, which // must be a literal string. See the full example below. |