代码搜索结果
找到约 51,516 项符合
Timer 的代码
timer.cpp
/************************************************************************
* file name: timer.cpp
* description: for test use.
* modification history
* --------------------
* 2003-5-3 9:23:11
timer.h
/************************************************************************
* file name: timer.h
* description: for test use.
* modification history
* --------------------
* 2003-5-3 9:21:11,
timer.h
/* timer.h -- Timer related definitions
*
* This code is taken from example code in the Xtensa Microprocessor
* Programmer's Guide.
*
* WARNING: It is highly unlikely that this code works as is
timer.cpp
#include "stdafx.h"
#include
#include
#include "timer.h"
/* 缺省构造函数,初始化为系统当前时间 */
timer::timer()
{
// 取系统当前时间
long now;
time( &now );
tm tmnow = *localtime( &now );
timer.h
#ifndef HEADFILE_TIMER // 预编译,检查宏是否已定义,以免重复包含
#define HEADFILE_TIMER // 宏定义
/* timer类: 实现时钟及计时器功能 */
class timer{
int _hour;
int _minute;
int _second;
long _lstart, _lend; // 存储计时
timer.c
/*
* $Id: timer.c,v 1.8 2007/10/23 07:52:04 sunny Exp $
*/
/*
*******************************************************************************
**
** This device driver was created by Applilet fo
timer.h
/*
* $Id: timer.h,v 1.8 2007/08/17 06:21:52 sunny Exp $
*/
/*
*******************************************************************************
**
** This device driver was created by Applilet fo
timer.h
/*------------------------------------------------------------------------*/
/* */
/* TIMER.H
timer.c
/******************************************************************************/
//
// File Name : Timer.c
// Description : S3C2440 Timer and Watch-dog Function Test
// Version : 0.2
//
timer.h
//=============================================================================
// File Name : Timer.h
// Function : S3C2440 Watch-Dog and Timer Test Head File
// Program : Shin, On Pil (SOP)
/