mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Add new CefNowFromSystemTraceTime() method (issue #908).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1147 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "libcef/browser/thread_util.h"
|
||||
|
||||
#include "base/debug/trace_event.h"
|
||||
#include "base/time.h"
|
||||
|
||||
bool CefBeginTracing(CefRefPtr<CefTraceClient> client,
|
||||
const CefString& categories) {
|
||||
@ -65,6 +66,9 @@ bool CefEndTracingAsync() {
|
||||
return subscriber->EndTracingAsync();
|
||||
}
|
||||
|
||||
int64 CefNowFromSystemTraceTime() {
|
||||
return base::TimeTicks::NowFromSystemTraceTime().ToInternalValue();
|
||||
}
|
||||
|
||||
// The below functions can be called from any process.
|
||||
|
||||
|
Reference in New Issue
Block a user