stub Java QPL for OSS

Reviewed By: @mkonicek

Differential Revision: D2470258
This commit is contained in:
Amir Rosenfeld
2015-09-23 10:28:10 -07:00
committed by facebook-github-bot-2
parent 393b6791a8
commit da284f6e36
4 changed files with 189 additions and 0 deletions

View File

@@ -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;
}
}