mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-07 22:42:13 +08:00
stub Java QPL for OSS
Reviewed By: @mkonicek Differential Revision: D2470258
This commit is contained in:
committed by
facebook-github-bot-2
parent
393b6791a8
commit
da284f6e36
@@ -0,0 +1,93 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
package com.facebook.quicklog;
|
||||
|
||||
/**
|
||||
* Stub implementation of QPL
|
||||
*/
|
||||
public class QuickPerformanceLogger {
|
||||
|
||||
public void markerStart(
|
||||
int markerId) {
|
||||
}
|
||||
|
||||
public void markerStart(
|
||||
int markerId,
|
||||
int instnaceKey) {
|
||||
}
|
||||
|
||||
public void markerStart(
|
||||
int markerId,
|
||||
int instnaceKey,
|
||||
long timestamp) {
|
||||
}
|
||||
|
||||
public void markerEnd(
|
||||
int markerId,
|
||||
short actionId) {
|
||||
}
|
||||
|
||||
public void markerEnd(
|
||||
int markerId,
|
||||
int instanceKey,
|
||||
short actionId) {
|
||||
}
|
||||
|
||||
public void markerEnd(
|
||||
int markerId,
|
||||
int instanceKey,
|
||||
short actionId,
|
||||
long timestamp) {
|
||||
}
|
||||
|
||||
public void markerNote(
|
||||
int markerId,
|
||||
short actionId) {
|
||||
}
|
||||
|
||||
public void markerNote(
|
||||
int markerId,
|
||||
int instanceKey,
|
||||
short actionId) {
|
||||
}
|
||||
|
||||
public void markerNote(
|
||||
int markerId,
|
||||
int instanceKey,
|
||||
short actionId,
|
||||
long timestamp) {
|
||||
}
|
||||
|
||||
public void markerCancel(
|
||||
int markerId) {
|
||||
}
|
||||
|
||||
public void markerCancel(
|
||||
int markerId,
|
||||
int instanceKey) {
|
||||
}
|
||||
|
||||
public void markerTag(
|
||||
int markerId,
|
||||
String tag) {
|
||||
}
|
||||
|
||||
public void markerTag(
|
||||
int markerId,
|
||||
int instanceKey,
|
||||
String tag) {
|
||||
}
|
||||
|
||||
public long currentMonotonicTimestamp() {
|
||||
return 0L;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user