📄 dclconf.h
字号:
/*---------------------------------------------------------------------------
----> DO NOT REMOVE THE FOLLOWING NOTICE <----
Copyright (c) 1993 - 2006 Datalight, Inc. All Rights Reserved.
Datalight, Incorporated is a Washington State corporation located at:
21520 30th Dr SE, Suite 110, Tel: 425-951-8086
Bothell, WA 98021 Fax: 425-951-8094
USA Http://www.datalight.com
This software, including without limitation, all source code and documen-
tation, is the confidential, trade secret property of Datalight, Inc., and
is protected under the copyright laws of the United States and other juris-
dictions.
In addition to civil penalties for infringement of copyright under applic-
able U.S. law, 17 U.S.C. 1204 provides criminal penalties for violation of
(a) the restrictions on circumvention of copyright protection systems found
in 17 U.S.C. 1201 and (b) the protections for the integrity of copyright
management information found in 17 U.S.C. 1202.
U.S. Government Restricted Rights: Use, duplication, reproduction, or
transfer of this commercial product and accompanying documentation is
restricted in accordance with FAR 12.212 and DFARS 227.7202 and by a
License Agreement.
IN ADDITION TO COPYRIGHT AND PATENT LAW, THIS SOFTWARE IS PROTECTED UNDER A
SOURCE CODE AGREEMENT, NON-DISCLOSURE AGREEMENT (NDA), OR SIMILAR BINDING
CONTRACT BETWEEN DATALIGHT, INC. AND THE LICENSEE ("BINDING AGREEMENT").
YOUR RIGHT, IF ANY, TO COPY, PUBLISH, MODIFY OR OTHERWISE USE THE SOFTWARE,
IS SUBJECT TO THE TERMS AND CONDITIONS OF THE BINDING AGREEMENT. BY USING
THE SOFTWARE IN ANY MANNER, IN WHOLE OR IN PART, YOU AGREE TO BE BOUND BY
THE TERMS OF THE BINDING AGREEMENT. CONTACT DATALIGHT, INC. AT THE ADDRESS
SET FORTH ABOVE IF YOU OBTAINED THIS SOFTWARE IN ERROR.
---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------
Description
This header is used to configure project specific settings for the
Datalight Common Libraries (DCL).
---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------
Revision History
$Log: dclconf.h $
Revision 1.3 2006/06/22 22:08:47Z Garyp
Added the DCLCONF_USEVXWORKSTIMESTAMP setting (was in ffxconf.h).
Revision 1.2 2005/12/08 20:15:34Z Garyp
Added standardized DCL settings.
Revision 1.1 2005/07/06 02:42:40Z Pauli
Initial revision
---------------------------------------------------------------------------*/
#ifndef DCLCONF_H_INCLUDED
#define DCLCONF_H_INCLUDED
/*-------------------------------------------------------------------
Tracking Settings
Enable the various tracking settings to allow statistical and
diagnostic output to be gathered and displayed.
These settings typically default to being disabled when building
a release version of the product.
-------------------------------------------------------------------*/
#if D_DEBUG == 0
#define DCLCONF_MEMORYTRACKING FALSE /* MUST be FALSE for checkin */
#else
#define DCLCONF_MEMORYTRACKING TRUE /* Should be TRUE for checkin */
#endif
#if D_DEBUG == 0
#define DCLCONF_SEMAPHORETRACKING FALSE /* MUST be FALSE for checkin */
#else
#define DCLCONF_SEMAPHORETRACKING FALSE /* Should be FALSE for checkin */
#endif
/*-------------------------------------------------------------------
Trace Settings
DCLTRACEMASK is a bit-mapped mask of DCLTRACEBIT_class values
that filter debug output created by the DCLTRACEPRINTF() macros
used throughout DCL.
For example, to enable tracing for memory management and
mutexes, you would use the following statement:
#define DCLTRACEMASK (DCLTRACEBIT_MEM | DCLTRACEBIT_MUTEX)
See dltrace.h for a list of the available trace classes.
The DCLTRACE_AUTOENABLE setting controls whether tracing is
initially enabled or disabled at startup time. This setting is
system-wide, and affects any products that include DCL.
-------------------------------------------------------------------*/
#define DCLTRACEMASK DCLTRACEBIT_NONE
#define DCLTRACE_AUTOENABLE TRUE
/*-------------------------------------------------------------------
Profiler Settings
-------------------------------------------------------------------*/
#define DCLCONF_PROFILERENABLED FALSE
#if DCLCONF_PROFILERENABLED
#define DCLPROF_AUTOENABLE FALSE
#define DCLPROF_MAX_RECORDS (7000)
#define DCLPROF_MAX_NESTING_LEVEL (40)
#define DCLPROF_MAX_THREADS (10)
#endif
/*-------------------------------------------------------------------
Set this value to TRUE to cause the high-resolution timers to
use the VxWorks BSP timestamp functionality.
Some VxWorks BSPs do not support this functionality. If this
is the case, setting this value to FALSE will cause the high
resolution timers to use the standard system tick. This means
that while the high resolution timers will still function, they
will operate at a lower granularity.
-------------------------------------------------------------------*/
#define DCLCONF_USEVXWORKSTIMESTAMP TRUE
#endif /* DCLCONF_H_INCLUDED */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -