Skip to content

Instantly share code, notes, and snippets.

@Criteo-dotnet-blog
Created September 28, 2018 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Criteo-dotnet-blog/3f3bb7bd1cdc9d1a5f8516b0d8540d3d to your computer and use it in GitHub Desktop.
Save Criteo-dotnet-blog/3f3bb7bd1cdc9d1a5f8516b0d8540d3d to your computer and use it in GitHub Desktop.
private void OnContentionStart(ContentionTraceData data)
{
ContentionInfo info = _contentionStore.GetContentionInfo(data.ProcessID, data.ThreadID);
if (info == null)
return;
info.TimeStamp = data.TimeStamp;
info.ContentionStartRelativeMSec = data.TimeStampRelativeMSec;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment