Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1531326

Re: [PATCH 1/6] perf tool: Add time-based utility functions

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/6] perf tool: Add time-based utility functions
Date 2016-11-28 15:00 +0100
Message-ID <sIuDo-2Mu-33@gated-at.bofh.it> (permalink)
References <sHwxz-5Zv-9@gated-at.bofh.it> <sHwxz-5Zv-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Nov 25, 2016 at 02:39:54PM -0700, David Ahern wrote:

SNIP

> diff --git a/tools/perf/util/time-utils.h b/tools/perf/util/time-utils.h
> new file mode 100644
> index 000000000000..4368a481251d
> --- /dev/null
> +++ b/tools/perf/util/time-utils.h
> @@ -0,0 +1,12 @@
> +#ifndef _TIME_UTILS_H_
> +#define _TIME_UTILS_H_
> +
> +struct perf_time {
> +	u64 start, end;
> +};

hum, it's more interval rather than 'time'
would perf_interval, perf_time_interval suit better?

thanks,
jirka

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/6] perf tool: Add time-based utility functions David Ahern <dsa@cumulusnetworks.com> - 2016-11-25 22:50 +0100
  Re: [PATCH 1/6] perf tool: Add time-based utility functions Jiri Olsa <jolsa@redhat.com> - 2016-11-28 15:00 +0100
  Re: [PATCH 1/6] perf tool: Add time-based utility functions Jiri Olsa <jolsa@redhat.com> - 2016-11-28 15:00 +0100
    Re: [PATCH 1/6] perf tool: Add time-based utility functions David Ahern <dsahern@gmail.com> - 2016-11-28 18:30 +0100
      Re: [PATCH 1/6] perf tool: Add time-based utility functions David Ahern <dsahern@gmail.com> - 2016-11-29 17:10 +0100
      Re: [PATCH 1/6] perf tool: Add time-based utility functions Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-11-29 17:10 +0100
  Re: [PATCH 1/6] perf tool: Add time-based utility functions Jiri Olsa <jolsa@redhat.com> - 2016-11-28 15:00 +0100
    Re: [PATCH 1/6] perf tool: Add time-based utility functions David Ahern <dsahern@gmail.com> - 2016-11-28 18:40 +0100
      Re: [PATCH 1/6] perf tool: Add time-based utility functions Jiri Olsa <jolsa@redhat.com> - 2016-11-28 19:20 +0100
        Re: [PATCH 1/6] perf tool: Add time-based utility functions David Ahern <dsahern@gmail.com> - 2016-11-28 19:20 +0100

csiph-web