Skip to content

Commit

Permalink
#0: patch to dump wait cycles
Browse files Browse the repository at this point in the history
  • Loading branch information
aliuTT committed Jun 28, 2024
1 parent e4662f1 commit 8930b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tt_metal/tt_metal/test_kernels/misc/watcher_pause.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <cstdint>
#include "debug/pause.h"
#include "debug/ring_buffer.h"

/*
* A test for the watcher pausing feature.
Expand All @@ -16,6 +17,7 @@ namespace NAMESPACE {
void MAIN {
#endif
uint32_t wait_cycles = get_arg_val<uint32_t>(0);
WATCHER_RING_BUFFER_PUSH(wait_cycles);

// Do a wait followed by a pause, triscs can't wait.
#ifndef COMPILE_FOR_TRISC
Expand Down

0 comments on commit 8930b07

Please sign in to comment.