代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.txt
From: nuthing@mcl.ucsb.edu (Ethan Rohrer)
Newsgroups: rec.games.programmer
Subject: TIMING SOURCE CODE HERE!
Date: 14 Dec 1994 05:55:34 GMT
Ok, here is some code I wrote a while ago, and touched
timer.h
/*****************************************************************************
*
* Timer.h
timer.cpp
/*****************************************************************************
*
* Timer.cpp
timer.inl
/*****************************************************************************
*
* Timer.inl
*
timer.h
#ifndef TIMER_H
#define TIMER_H
#include
class Timer
{
public:
Timer();
virtual ~Timer();
update(); // set last update to now
// get difference between now and la
timer.c
#include "timer.h"
#include
#include
#include
Timer::Timer()
{
}
Timer::~Timer()
{
}
Timer::update()
{
gettimeofday(¤t_time, 0);
}
long Timer::get_diff
lpc_timer.c
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 2003
*
* File name : LPC_Timer.c
* D
lpc_timer.h
#ifndef __LPC_TIMER_H
#define __LPC_TIMER_H
/*************************************************************************
*
* Used with ICCARM and AARM.
*
* (c) Copyright IAR Systems 20
wg_timer.cpp
// wg_timer.cpp
//
// CTimer class implementation
//
//
// Copyright (c) 2002 Rob Wiskow
// rob-dev@boxedchaos.com
//
// This library is free software; you can redistribute it and/or
// modify it unde