1 #ifndef _TIME_UTILS_H_ 2 #define _TIME_UTILS_H_ 3 4 struct perf_time_interval { 5 u64 start, end; 6 }; 7 8 int parse_nsec_time(const char *str, u64 *ptime); 9 10 int perf_time__parse_str(struct perf_time_interval *ptime, const char *ostr); 11 12 bool perf_time__skip_sample(struct perf_time_interval *ptime, u64 timestamp); 13 14 #endif 15