1 // Copyright 2016 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.base; 6 7 import org.chromium.base.annotations.JNINamespace; 8 import org.chromium.base.annotations.MainDex; 9 10 /** Time-related utilities. */ 11 @JNINamespace("base::android") 12 @MainDex 13 public class TimeUtils { TimeUtils()14 private TimeUtils() {} 15 16 /** Returns TimeTicks::Now() in microseconds. */ nativeGetTimeTicksNowUs()17 public static native long nativeGetTimeTicksNowUs(); 18 } 19