option q is to set cpu measurements but it is hardcoded in some places

This commit is contained in:
Laurent THOMAS
2024-09-18 16:02:14 +02:00
parent ba2d7aad18
commit 31f770978c
25 changed files with 114 additions and 140 deletions
+1 -1
View File
@@ -573,7 +573,7 @@ int main(int argc, char **argv) {
uint32_t Nsoft;
int sf;
int CCE_table[800];
opp_enabled=1; // to enable the time meas
cpu_meas_enabled = 1; // to enable the time meas
FILE *csv_fd=NULL;
char csv_fname[FILENAME_MAX];
int DLSCH_RB_ALLOC = 0;
+1 -1
View File
@@ -307,7 +307,7 @@ int main(int argc, char **argv)
int threequarter_fs=0;
opp_enabled=1; // to enable the time meas
cpu_meas_enabled = 1; // to enable the time meas
#if defined(__arm__) || defined(__aarch64__)
FILE *proc_fd = NULL;
+1 -1
View File
@@ -189,7 +189,7 @@ int main(int argc, char **argv) {
uint32_t Nsoft;
int CCE_table[800];
int threequarter_fs=0;
opp_enabled=1; // to enable the time meas
cpu_meas_enabled = 1; // to enable the time meas
#if defined(__arm__) || defined(__aarch64__)
FILE *proc_fd = NULL;
char buf[64];
+1 -1
View File
@@ -661,7 +661,7 @@ int main(int argc, char **argv) {
uint32_t Nsoft;
int sf;
int CCE_table[800];
opp_enabled=1; // to enable the time meas
cpu_meas_enabled = 1; // to enable the time meas
FILE *csv_fd=NULL;
char csv_fname[FILENAME_MAX];
int DLSCH_RB_ALLOC = 0;
+1 -2
View File
@@ -380,7 +380,6 @@ int main(int argc, char **argv) {
int sf;
static int threequarter_fs=0;
int ndi;
opp_enabled=1; // to enable the time meas
sched_resp.DL_req = &DL_req;
sched_resp.UL_req = &UL_req;
sched_resp.HI_DCI0_req = &HI_DCI0_req;
@@ -568,7 +567,7 @@ int main(int argc, char **argv) {
case 'P':
dump_perf=1;
opp_enabled=1;
cpu_meas_enabled = 1;
break;
case 'L':
+1 -1
View File
@@ -460,7 +460,7 @@ int main(int argc, char **argv)
case 'P':
print_perf=1;
opp_enabled=1;
cpu_meas_enabled = 1;
break;
case 'I':
+1 -1
View File
@@ -432,7 +432,7 @@ int main(int argc, char *argv[])
case 'P':
print_perf=1;
opp_enabled=1;
cpu_meas_enabled = 1;
break;
case 'L':