2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
20 * Calculate difference between two timespecs in nanoseconds
21 * \param start earlier time
22 * \param end later time
23 * \return (end - start) in nanoseconds
25 std::int64_t TimespecDifference(timespec
const& start
, timespec
const& end
);