public static void addInstantEvent(@NonNls @NotNull String name) {
    if (!isEnabled) {
      return;
    }

    ActivityImpl activity = new ActivityImpl(name, System.nanoTime(), null, null);
    activity.setEnd(-1);
    items.add(activity);
  }
public static void addInstantEvent(@NonNls @NotNull String name)