WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
timeprofile.h File Reference
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "time_util.h"
#include "zarray.h"

Go to the source code of this file.

Classes

struct  timeprofile_entry
struct  timeprofile

Typedefs

typedef struct timeprofile timeprofile_t

Functions

static timeprofile_ttimeprofile_create (void)
static void timeprofile_destroy (timeprofile_t *tp)
static void timeprofile_clear (timeprofile_t *tp)
static void timeprofile_stamp (timeprofile_t *tp, const char *name)
static void timeprofile_display (timeprofile_t *tp)
static uint64_t timeprofile_total_utime (timeprofile_t *tp)

Typedef Documentation

◆ timeprofile_t

typedef struct timeprofile timeprofile_t

Function Documentation

◆ timeprofile_clear()

void timeprofile_clear ( timeprofile_t * tp)
inlinestatic

◆ timeprofile_create()

timeprofile_t * timeprofile_create ( void )
inlinestatic

◆ timeprofile_destroy()

void timeprofile_destroy ( timeprofile_t * tp)
inlinestatic

◆ timeprofile_display()

void timeprofile_display ( timeprofile_t * tp)
inlinestatic

◆ timeprofile_stamp()

void timeprofile_stamp ( timeprofile_t * tp,
const char * name )
inlinestatic

◆ timeprofile_total_utime()

uint64_t timeprofile_total_utime ( timeprofile_t * tp)
inlinestatic