Skip to content

Commit c798fb6

Browse files
WillmishIvan-Velickovic
authored andcommitted
agnostic: update network example
Signed-off-by: Szymon Duchniewicz <[email protected]>
1 parent 7680ce0 commit c798fb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/echo_server/utilization_socket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static err_t utilization_recv_callback(void *arg, struct tcp_pcb *pcb, struct pb
138138
core_ccount_start[i] = __atomic_load_n(&ccounts->core_ccount, __ATOMIC_RELAXED);
139139
idle_ccount_start[i] = __atomic_load_n(&ccounts->idle_ccount, __ATOMIC_RELAXED);
140140
}
141-
microkit_notify(bench->start_ch);
141+
sddf_notify(bench->start_ch);
142142
}
143143
} else if (msg_match(data_packet_str, STOP)) {
144144
sddf_printf("%s measurement finished \n", sddf_get_pd_name());
@@ -173,7 +173,7 @@ static err_t utilization_recv_callback(void *arg, struct tcp_pcb *pcb, struct pb
173173

174174
/* Only benchmark controller client will have bench->num_cores > 0 */
175175
if (bench->num_cores) {
176-
microkit_notify(bench->stop_ch);
176+
sddf_notify(bench->stop_ch);
177177
}
178178
} else if (msg_match(data_packet_str, QUIT)) {
179179
/* Do nothing for now */

0 commit comments

Comments
 (0)