GCC Middle and Back End API Reference
timer::timevar_def Struct Reference
Collaboration diagram for timer::timevar_def:

Public Member Functions

json::valuemake_json () const
 

Data Fields

struct timevar_time_def elapsed
 
struct timevar_time_def start_time
 
const char * name
 
unsigned standalone: 1
 
unsigned used: 1
 
child_map_tchildren
 

Member Function Documentation

◆ make_json()

json::value * timer::timevar_def::make_json ( ) const
Create a json value representing this object, suitable for use
in SARIF output.   

References timer::all_zero(), json::array::append(), children, elapsed, i, make_json_for_timevar_time_def(), name, json::object::set(), and json::object::set_string().

Referenced by timer::make_json().

Field Documentation

◆ children

child_map_t* timer::timevar_def::children

◆ elapsed

◆ name

const char* timer::timevar_def::name

◆ standalone

unsigned timer::timevar_def::standalone

◆ start_time

struct timevar_time_def timer::timevar_def::start_time

◆ used


The documentation for this struct was generated from the following files: