time.h (486B)
1 // Copyright (c) the JPEG XL Project Authors. All rights reserved. 2 // 3 // Use of this source code is governed by a BSD-style 4 // license that can be found in the LICENSE file. 5 6 #ifndef LIB_EXTRAS_TIME_H_ 7 #define LIB_EXTRAS_TIME_H_ 8 9 // OS-specific function for timing. 10 11 namespace jxl { 12 13 // Returns current time [seconds] from a monotonic clock with unspecified 14 // starting point - only suitable for computing elapsed time. 15 double Now(); 16 17 } // namespace jxl 18 19 #endif // LIB_EXTRAS_TIME_H_