forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JitEECallTimingInfo bit rot (dotnet#868)
Added new JIT/EE interface functions. Moved some around so the order of functions is exactly the same order as in the corinfo.h header file. This functionality can be enabled by: 1. Changing the definition of `MEASURE_CLRAPI_CALLS` in jit.h from `0` to `1`. 2. Building Release on x86 or x64 (arm32 and arm64 are currently unsupported) 3. Set environment variables: ``` set COMPlus_JitTimeLogFile=time.txt set COMPlus_JitEECallTimingInfo=1 ``` 4. Run a program. The `time.txt` file will contain a JIT phase time line item "CLR API calls" for the sum total of all JIT-EE function call cost, plus a per-API breakdown for each called API with number of calls, total/max/average time, and percentage of total ABI call cost.
- Loading branch information
1 parent
379b6ea
commit 6a620e6
Showing
2 changed files
with
125 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters