blob: 3940035e12d8f27cf75ed434e89b1ea64155792a [file] [log] [blame]
/*
* Copyright 2023 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkTime_DEFINED
#define SkTime_DEFINED
/** \namespace SkTime
Platform-implemented utilities to return a monotonic counter.
*/
namespace SkTime {
double GetNSecs();
inline double GetSecs() { return GetNSecs() * 1e-9; }
inline double GetMSecs() { return GetNSecs() * 1e-6; }
} // namespace SkTime
#endif