Server::SetProfileLevel

Server::SetProfileLevel
virtual void SetProfileLevel(AmpProfileLevel profileLevel, bool lock);
Description

SetProfileLevel sets the level of function profiling. The higher the level, the more detailed the function call graph, but also the higher the performance hit.

Parameters
Parameters 
Description 
AmpProfileLevel profileLevel 
The function profiling level: 0=Low (default), 1=Medium, 2=High. 
bool lock 
A value of true locks the profile level so that it cannot be changed by the AMP client.