This commit is contained in:
Fine 2024-12-09 17:02:01 +08:00
parent f5cfb030a3
commit 16b03999e2

View File

@ -136,7 +136,7 @@ limitations under the License. -->
} }
const { type } = ebpfStore.analyzeTrees[0]; const { type } = ebpfStore.analyzeTrees[0];
if ([JFREventType.LOCK].includes(type)) { if ([JFREventType.LOCK].includes(type)) {
return `<div class="mb-5">Duration: ${item.dumpCount} ms</div>`; return `<div class="mb-5">Duration: ${item.dumpCount} ns</div>`;
} }
if (type === JFREventType.EXECUTION_SAMPLE) { if (type === JFREventType.EXECUTION_SAMPLE) {
return `<div class="mb-5">Count: ${item.dumpCount}</div>`; return `<div class="mb-5">Count: ${item.dumpCount}</div>`;