< prev index next >
src/hotspot/share/gc/z/zStat.cpp
Print this page
@@ -226,11 +226,11 @@
//
// Stat unit printers
//
void ZStatUnitTime(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) {
- log.print(" %10s: %-34s "
+ log.print(" %10s: %-40s "
"%9.3f / %-9.3f "
"%9.3f / %-9.3f "
"%9.3f / %-9.3f "
"%9.3f / %-9.3f ms",
sampler.group(),
@@ -244,11 +244,11 @@
TimeHelper::counter_to_millis(history.avg_total()),
TimeHelper::counter_to_millis(history.max_total()));
}
void ZStatUnitBytes(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) {
- log.print(" %10s: %-34s "
+ log.print(" %10s: %-40s "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " MB",
sampler.group(),
@@ -262,11 +262,11 @@
history.avg_total() / M,
history.max_total() / M);
}
void ZStatUnitThreads(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) {
- log.print(" %10s: %-34s "
+ log.print(" %10s: %-40s "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " threads",
sampler.group(),
@@ -280,11 +280,11 @@
history.avg_total(),
history.max_total());
}
void ZStatUnitBytesPerSecond(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) {
- log.print(" %10s: %-34s "
+ log.print(" %10s: %-40s "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " MB/s",
sampler.group(),
@@ -298,11 +298,11 @@
history.avg_total() / M,
history.max_total() / M);
}
void ZStatUnitOpsPerSecond(LogTargetHandle log, const ZStatSampler& sampler, const ZStatSamplerHistory& history) {
- log.print(" %10s: %-34s "
+ log.print(" %10s: %-40s "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " "
UINT64_FORMAT_W(9) " / " UINT64_FORMAT_W(-9) " ops/s",
sampler.group(),
@@ -873,21 +873,21 @@
return log.is_enabled() && (_metronome.nticks() % ZStatisticsInterval == 0);
}
void ZStat::print(LogTargetHandle log, const ZStatSamplerHistory* history) const {
// Print
- log.print("=== Garbage Collection Statistics =================================================================================================================");
+ log.print("=== Garbage Collection Statistics =======================================================================================================================");
log.print(" Last 10s Last 10m Last 10h Total");
log.print(" Avg / Max Avg / Max Avg / Max Avg / Max");
for (const ZStatSampler* sampler = ZStatSampler::first(); sampler != NULL; sampler = sampler->next()) {
const ZStatSamplerHistory& sampler_history = history[sampler->id()];
const ZStatUnitPrinter printer = sampler->printer();
printer(log, *sampler, sampler_history);
}
- log.print("===================================================================================================================================================");
+ log.print("=========================================================================================================================================================");
}
void ZStat::run_service() {
ZStatSamplerHistory* const history = new ZStatSamplerHistory[ZStatSampler::count()];
LogTarget(Info, gc, stats) log;
< prev index next >