Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
netcpu_none.c
Package: netperf-2.4.4.tar.gz [view]
Upload User: kvgkvg
Upload Date: 2015-05-07
Package Size: 1129k
Code Size: 1k
Category:
Linux-Unix program
Development Platform:
C/C++
- char netcpu_none_id[]="
- @(#)netcpu_none.c (c) Copyright 2005, Hewlett-Packard Company, Version 2.4.0";
- #if HAVE_CONFIG_H
- # include <config.h>
- #endif
- #include <stdio.h>
- #if HAVE_INTTYPES_H
- # include <inttypes.h>
- #else
- # if HAVE_STDINT_H
- # include <stdint.h>
- # endif
- #endif
- #include "netsh.h"
- #include "netlib.h"
- void
- cpu_util_init(void)
- {
- return;
- }
- void
- cpu_util_terminate(void)
- {
- return;
- }
- int
- get_cpu_method(void)
- {
- return CPU_UNKNOWN;
- }
- void
- get_cpu_idle(uint64_t *res)
- {
- return;
- }
- float
- calibrate_idle_rate(int iterations, int interval)
- {
- return 0.0;
- }
- float
- calc_cpu_util_internal(float elapsed_time)
- {
- return -1.0;
- }
- void
- cpu_start_internal(void)
- {
- return;
- }
- void
- cpu_stop_internal(void)
- {
- return;
- }