public bool TryClaimBuildState() { return Interlocked.CompareExchange(ref isProfilingBuildTime, 1, 0)==0; }