From: Julien Desfossez Date: Fri, 3 Aug 2012 19:03:07 +0000 (-0400) Subject: Fix: Add missing clock-types.h X-Git-Tag: v1.0.0-rc5~38 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=2b78f360e801cfe3fa51092c56c96c8fe23983e0 Fix: Add missing clock-types.h Signed-off-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- diff --git a/include/babeltrace/clock-types.h b/include/babeltrace/clock-types.h new file mode 100644 index 00000000..2adf6189 --- /dev/null +++ b/include/babeltrace/clock-types.h @@ -0,0 +1,33 @@ +#ifndef _BABELTRACE_CLOCKS_H +#define _BABELTRACE_CLOCKS_H + +/* + * BabelTrace + * + * clocks header + * + * Copyright 2012 EfficiOS Inc. and Linux Foundation + * + * Author: Mathieu Desnoyers + * Julien Desfossez + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + */ + +/* + * the Babeltrace clock representations + */ +enum bt_clock_type { + BT_CLOCK_CYCLES = 0, + BT_CLOCK_REAL, +}; + +#endif /* _BABELTRACE_CLOCKS_H */