diff options
author | Tommi Rantala <tommi.t.rantala@nokia.com> | 2020-11-02 09:39:18 +0200 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-11-10 14:41:32 -0700 |
commit | fc4a3a1bf9ad799181e4d4ec9c2598c0405bc27d (patch) | |
tree | 82bfd45cca1c6938f3e15f06c3dce4abfaf9d558 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 85128c5bcdf9bd9b574d7cbafa49170a39fed2e1 (diff) |
selftests: intel_pstate: ftime() is deprecated
Use clock_gettime() instead of deprecated ftime().
aperf.c: In function ‘main’:
aperf.c:58:2: warning: ‘ftime’ is deprecated [-Wdeprecated-declarations]
58 | ftime(&before);
| ^~~~~
In file included from aperf.c:9:
/usr/include/sys/timeb.h:39:12: note: declared here
39 | extern int ftime (struct timeb *__timebuf)
| ^~~~~
Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions