Fix C# profiler events from other threads
This commit is contained in:
@@ -289,6 +289,11 @@ public:
|
||||
/// </summary>
|
||||
/// <param name="index">The event index returned by the BeginEvent method.</param>
|
||||
void EndEvent(int32 index);
|
||||
|
||||
/// <summary>
|
||||
/// Ends the last event running on a this thread.
|
||||
/// </summary>
|
||||
void EndEvent();
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -341,6 +346,11 @@ public:
|
||||
/// <param name="index">The event index returned by the BeginEvent method.</param>
|
||||
static void EndEvent(int32 index);
|
||||
|
||||
/// <summary>
|
||||
/// Ends the last event.
|
||||
/// </summary>
|
||||
static void EndEvent();
|
||||
|
||||
/// <summary>
|
||||
/// Releases resources. Calls to the profiling API after Dispose are not valid.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user