utl_stsreset.c

来自「DSP体系结构实现与应用源代码」· C语言 代码 · 共 37 行

C
37
字号
/*
 *  Copyright 2003 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) ReferenceFrameworks 2.20.00.08 07-18-03 (swat-f02)" */
/*
 *  ======== utl_stsReset.c ========
 *
 *  Implementation of UTL_stsReset() function.
 */
#include <std.h>
#include <sts.h>

#include <utl.h>

/*
 *  UTL_sts*(): execution time/period/phase measurement functions
 */

/*
 *  ========= UTL_stsResetFunc ========
 *
 *  Resets the STS object. 
 */
Void UTL_stsResetFunc( UTLSTS_Obj *utlsts ) 
{
    STS_reset( utlsts->sts );
    utlsts->lastTime = 0;
    utlsts->count = 0;
}



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?