summaryrefslogtreecommitdiff
path: root/tools/perf/util/clockid.h
blob: 33dbd8673c1cb04c435a4744e5d6716ed564592f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_CLOCKID_H
#define __PERF_CLOCKID_H

#include <time.h>

struct option;
int parse_clockid(const struct option *opt, const char *str, int unset);

const char *clockid_name(clockid_t clk_id);

#endif