📄 global.c
字号:
#include <cycle_count.h>
#include "global.h"
/*
const char data[] =
"This example demonstrates how Profile-Guided Optimization can be "
"affected by dual-core applications. This text will be processed "
"in two different ways, one by each core, but the code for both "
"versions resides in the same function, conditionally compiled. "
"PGO has to use session IDs to indicate which version of the file "
"is being profiled."
;
*/
volatile int v_nc, v_nw, v_nl; /* counts for Core A (word count) */
volatile int v_nAZ, v_naz, v_nx; /* counts for Core B (upper/lower) */
volatile bool core_b_finished = false;
volatile cycle_t v_final_count;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -