summaryrefslogtreecommitdiff
path: root/Documentation/botr/profiling.md
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/botr/profiling.md')
-rw-r--r--Documentation/botr/profiling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/botr/profiling.md b/Documentation/botr/profiling.md
index b83f78b5bd..e3dbd2bee5 100644
--- a/Documentation/botr/profiling.md
+++ b/Documentation/botr/profiling.md
@@ -58,7 +58,7 @@ Note that only the data-gathering part of the profiler solution should be runnin
![Profiling Process Overview]: images/profiling-overview.png
-The _ICorProfilerCallback_ and _ICorProfilerCallback2 _interfaces consists of methods with names like ClassLoadStarted, ClassLoadFinished, JITCompilationStarted. Each time the CLR loads/unloads a class, compiles a function, etc., it calls the corresponding method in the profiler's _ICorProfilerCallback/ICorProfilerCallback2_ interface. (And similarly for all of the other notifications; see later for details)
+The _ICorProfilerCallback_ and _ICorProfilerCallback2_ interfaces consists of methods with names like ClassLoadStarted, ClassLoadFinished, JITCompilationStarted. Each time the CLR loads/unloads a class, compiles a function, etc., it calls the corresponding method in the profiler's _ICorProfilerCallback/ICorProfilerCallback2_ interface. (And similarly for all of the other notifications; see later for details)
So, for example, a profiler could measure code performance via the two notifications FunctionEnter and FunctionLeave. It simply timestamps each notification, accumulates results, then outputs a list indicating which functions consumed the most cpu time, or most wall-clock time, during execution of the application.