time.h

来自「数据挖掘经典的hierarchial clustering algorithm」· C头文件 代码 · 共 43 行

H
43
字号
  All Rights Reserved.
  ========================================================================

  Under no circumstances is this software to be copied, distributed,
  or altered in any way without prior permission from the DEVise
  Development Group.
*/

/*
  $Id: Time.h,v 1.3 1995/12/02 20:56:09 jussi Exp $

  $Log: Time.h,v $
  Revision 1.3  1995/12/02 20:56:09  jussi
  Substituted DeviseTime for Time and added copyright notice.

  Revision 1.2  1995/09/05 21:13:06  jussi
  Added/updated CVS header.
*/

/*
   Time.h: keeps track of current time in terms of # of milliseconds
   since the beginning of the program
*/

#ifndef Time_h
#define Time_h

#include <sys/time.h>

#include "Journal.h"

class DeviseTime {
public:
  static void Init();

  static long Now();

private:
  static struct timeval _beginning; /* time of day at the beginning */
};

#endif

⌨️ 快捷键说明

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