Method BeginProfilingSampler
BeginProfilingSampler(ProfilingSampler, string, int)
Begin a profiling scope.
Declaration
public void BeginProfilingSampler(ProfilingSampler sampler, string file = "", int line = 0)
Parameters
Type | Name | Description |
---|---|---|
ProfilingSampler | sampler | Sampler used for profiling. |
string | file | File name of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it. |
int | line | File line of the source file this function is called from. Used for debugging. This parameter is automatically generated by the compiler. Users do not need to pass it. |