Rename threadPoolMeasurements to OAI_THREADPOOLMEASUREMENTS

- make it clear that it belongs to OAI
- follow convention of uppercase name
This commit is contained in:
Robert Schmidt
2023-06-28 07:16:00 +02:00
parent ba11dfba4e
commit 49703eee7b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ void *one_thread(void *arg) {
void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name) {
memset(pool,0,sizeof(*pool));
char *measr=getenv("threadPoolMeasurements");
char *measr=getenv("OAI_THREADPOOLMEASUREMENTS");
pool->measurePerf=performanceMeas;
// force measurement if the output is defined
pool->measurePerf |= measr!=NULL;