1 #ifndef FUNCTION_ANNOTATION_H_INCLUDED_
2 #define FUNCTION_ANNOTATION_H_INCLUDED_
57 bool is_conflict_free,
96 os <<
"NO_WAIT" << std::endl;
99 os <<
"UNCONDITIONAL_WAIT" << std::endl;
102 os <<
"CONDITIONAL_WAIT" << std::endl;
105 os <<
"LOOPED_WAIT" << std::endl;
108 os <<
"WORST_WAIT" << std::endl;
113 os <<
"Time: event" << std::endl;
116 os <<
"Time: sc-zero_time" << std::endl;
124 os <<
"SC_FS" << std::endl;
127 os <<
"SC_PS" << std::endl;
130 os <<
"SC_NS" << std::endl;
133 os <<
"SC_US" << std::endl;
136 os <<
"SC_MS" << std::endl;
138 case 1000000000000000l:
139 os <<
"SC_SEC" << std::endl;
Definition: function_annotation.h:53
Definition: function_annotation.h:10
FunctionAnnotation(char *function_name, bool is_conflict_free, WAIT_CONSTRUCT wait_type, AnnotatedTime *annotated_time)
Definition: function_annotation.h:55
Definition: function_annotation.h:11
bool is_conflict_free_
Whether the function contains no conflict.
Definition: function_annotation.h:75
WAIT_CONSTRUCT wait_type_
Type of waiting inside.
Definition: function_annotation.h:80
bool operator==(const AnnotatedTime &lhs, const AnnotatedTime &rhs)
Definition: function_annotation.cpp:3
WAIT_CONSTRUCT wait_type_
Definition: function_annotation.h:49
WAIT_CONSTRUCT
Definition: function_annotation.h:7
Definition: function_annotation.h:9
std::string function_name_
The function name.
Definition: function_annotation.h:70
Definition: function_annotation.h:47
Definition: function_annotation.h:12
long long magnitude_
The time.
Definition: function_annotation.h:32
AnnotatedTime()
Definition: function_annotation.h:17
Definition: function_annotation.h:8
int units_
The time unit, NS, PS, so on.
Definition: function_annotation.h:27
bool sc_zero_time_
If the segment waits for zero time.
Definition: function_annotation.h:42
friend std::ostream & operator<<(std::ostream &os, const FunctionAnnotation &fa)
Definition: function_annotation.h:87
bool event_notification_
If contains notification.
Definition: function_annotation.h:37
AnnotatedTime * annotated_time_
Definition: function_annotation.h:50
Definition: function_annotation.h:15
AnnotatedTime * annotated_time_
If waiting for time, what the time is.
Definition: function_annotation.h:85