Revision 635014a4ace4ac9ff4ee729a44b99891c8dfbab9 authored by Ivan Rodriguez on 07 August 2017, 14:06:12 UTC, committed by Ivan Rodriguez on 09 August 2017, 12:58:46 UTC
1 parent 1096b7c
Profiler.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#pragma once
class Profiler
{
public:
// Initializes profiler asking it to take given number of samples (0 to disable) and then stop
Profiler(int numSamples);
~Profiler(); // stops the profiler
// Notifies transition to the next sample
void NextSample();
private:
void Start();
void Stop();
int m_numSamples;
bool m_isProfilingActive;
};
Computing file changes ...