aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/execprofile/autostart/start.cpp
blob: 0fb8c1d5944d1a78a146800839d92c98abad1947 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <library/cpp/execprofile/profile.h>
 
namespace { 
    struct TInit { 
        inline TInit() { 
            BeginProfiling(); 
        } 
 
        inline ~TInit() { 
            EndProfiling(); 
        } 
    }; 
 
    const TInit initer;
}