profile static method

void profile(
  1. String event,
  2. int cost
)

Implementation

static void profile(String event, int cost) {
  if (_kProfileEnable) {
    printLog("voltron_profile", LogLevel.profile,
        "voltron profile event:$event, cost:$cost");
  }
}