X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Flttv%2Ftraceset.h;fp=lttv%2Flttv%2Ftraceset.h;h=6d4cedafd1dcceba4e7f9b46c0fd11c04796afdf;hb=9aaa78dc9323698c4c44e5aaa24322d0c9e26dab;hp=6af2e39cbb7eba0a26a89b59e7ce47989f892d34;hpb=861fbe5f8862cd3797aecef4ab6903700a8aa837;p=lttv.git diff --git a/lttv/lttv/traceset.h b/lttv/lttv/traceset.h index 6af2e39c..6d4cedaf 100644 --- a/lttv/lttv/traceset.h +++ b/lttv/lttv/traceset.h @@ -23,6 +23,7 @@ #include #include #include +#include #include /* A traceset is a set of traces to be analyzed together. */ @@ -122,6 +123,8 @@ guint lttv_traceset_get_cpuid_from_event(LttvEvent *event); guint64 lttv_traceset_get_timestamp_begin(LttvTraceset *traceset); /* Returns the maximum timestamp of the traces in the traceset */ guint64 lttv_traceset_get_timestamp_end(LttvTraceset *traceset); +/* Returns a TimeInterval struct that represents the min and max of the traceset */ +TimeInterval lttv_traceset_get_time_span(LttvTraceset *traceset); const char *lttv_traceset_get_name_from_event(LttvEvent *event);