19 #ifndef POSIX_PROFILE_H
20 #define POSIX_PROFILE_H
79 ent->
time += duration;
void POSIX_profile_render()
static POSIX_profile_hit(Wrapped_symbol id, uint64_t duration, int64_t size)
void POSIX_profile_init()
static struct Profile_Entry * POSIX_profile_get_entry(Wrapped_symbol id)
int MALP_Spinlock_unlock(MALP_Spinlock *mutex)
Unlocks the given MALP_Spinlock.
void Profile_Entry_init(struct Profile_Entry *ent, Wrapped_symbol id)
Wrapped_symbol
enum indicating which symbols are wrapped
void POSIX_profile_release()
int MALP_Spinlock_lock(MALP_Spinlock *mutex)
Locks the given MALP_Spinlock.
volatile unsigned int MALP_Spinlock
The type of spinlocks in MALP.
void POSIX_profile_reduce()
struct Profile_Entry __POSIX_Profile_entries[T_POSIX_COUNT]
void Profile_Entry_release(struct Profile_Entry *ent)
void POSIX_profile_serialize()