- Activator.getDefault().logWarning(String.format("CPU Usage: Spent more time on CPU than allowed: %s spent %d when max should be %d", curTidName, currentCount, endTime - startTime)); //$NON-NLS-1$
+ TraceCompassLogUtils.traceInstant(LOGGER, Level.FINE, "CPU usage over 100%", //$NON-NLS-1$
+ "CPU", curCpuName, //$NON-NLS-1$
+ "tid", curTidName, //$NON-NLS-1$
+ "startTime", startTime, //$NON-NLS-1$
+ "CPU time", currentCount, //$NON-NLS-1$
+ "elapsed time", endTime - startTime, //$NON-NLS-1$
+ "usage", currentCount * 100.0 / (endTime - startTime)); //$NON-NLS-1$