⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timer.c

📁 bpmpd是用fortran77语言编写的一个state-of-the-art求解大规模线性规划程序
💻 C
字号:
/* It is the standard C implementation of the timer subroutine used   *//* by bpmpd. It counts of hundredths of seconds elapsed (user time)   *//* since the beginning of an implementation specific starting point   */ /* Note: By certain systems the name of the function should be timer_   */ #include "time.h"#include "sys/types.h"#include "sys/times.h"#include "limits.h"int timer(wctime) long int *wctime;{    struct tms tm;    clock_t t;        t = times(&tm);    *wctime = 100.0*tm.tms_utime / (CLK_TCK);    return 0;} 

⌨️ 快捷键说明

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