opal_timer_require_monotinic: change to bool / level 5
Этот коммит содержится в:
родитель
1dd68d48a8
Коммит
983bd49f11
@ -9,6 +9,7 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -39,7 +40,7 @@ OPAL_DECLSPEC extern mca_base_framework_t opal_timer_base_framework;
|
||||
/**
|
||||
* MCA param to force monotonic timers.
|
||||
*/
|
||||
OPAL_DECLSPEC extern int mca_timer_base_monotonic;
|
||||
OPAL_DECLSPEC extern bool mca_timer_base_monotonic;
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
|
@ -9,6 +9,7 @@
|
||||
* University of Stuttgart. All rights reserved.
|
||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -22,7 +23,7 @@
|
||||
#include "opal/constants.h"
|
||||
#include "opal/mca/timer/base/base.h"
|
||||
|
||||
int mca_timer_base_monotonic = 1;
|
||||
bool mca_timer_base_monotonic = true;
|
||||
|
||||
/*
|
||||
* The following file was created by configure. It contains extern
|
||||
@ -35,8 +36,8 @@ static int mca_timer_base_register(mca_base_register_flag_t flags)
|
||||
{
|
||||
(void) mca_base_var_register("opal", "timer", "require", "monotonic",
|
||||
"Node-level monotonic timer required (default yes)",
|
||||
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
|
||||
OPAL_INFO_LVL_9,
|
||||
MCA_BASE_VAR_TYPE_BOOL, NULL, 0, 0,
|
||||
OPAL_INFO_LVL_5,
|
||||
MCA_BASE_VAR_SCOPE_LOCAL,
|
||||
&mca_timer_base_monotonic);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user