Path: blob/master/thirdparty/linuxbsd_headers/pulse/rtclock.h
9905 views
#ifndef foortclockfoo1#define foortclockfoo23/***4This file is part of PulseAudio.56Copyright 2004-2009 Lennart Poettering78PulseAudio is free software; you can redistribute it and/or modify9it under the terms of the GNU Lesser General Public License as10published by the Free Software Foundation; either version 2.1 of the11License, or (at your option) any later version.1213PulseAudio is distributed in the hope that it will be useful, but14WITHOUT ANY WARRANTY; without even the implied warranty of15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU16Lesser General Public License for more details.1718You should have received a copy of the GNU Lesser General Public19License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.20***/2122#include <pulse/cdecl.h>23#include <pulse/sample.h>2425/** \file26* Monotonic clock utilities. */2728PA_C_DECL_BEGIN2930/** Return the current monotonic system time in usec, if such a clock31* is available. If it is not available this will return the32* wallclock time instead. \since 0.9.16 */33pa_usec_t pa_rtclock_now(void);3435PA_C_DECL_END3637#endif383940