summaryrefslogtreecommitdiff
path: root/source/base/base_profile.h
blob: 475e1f92174016982574a041dd5ae704c2b20a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef BASE_PROFILE_H
#define BASE_PROFILE_H


typedef struct Profile Profile;
struct Profile {

    f32 start;
    f32 end;
    // TODO: is there a way to measure the cpu cycles?
    // frame time if graphics is enabled

#if GRAPHICS
    f32 frame_time;
#endif

};

#endif // BASE_PROFILE_H