class MAGES::Utilities::GenericUtilities::ProfileScope

Overview

An automatically freed profile scope. More…

class ProfileScope: public IDisposable
{
public:
    // methods

    ProfileScope(string label);
    void Dispose();
};

Detailed Documentation

An automatically freed profile scope.

Methods

ProfileScope(string label)

Initializes a new instance of the ProfileScope class.

Parameters:

label

The label.

void Dispose()

Disposes the object.