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

📄 tsc.h

📁 傅立叶变换和小波变换是图像压缩的重要工具。该代大戏是利用小波变换进行图像压缩。
💻 H
字号:
#ifndef CRB_TSC_H
#define CRB_TSC_H

#include <crblib/inc.h>
#include <stdio.h>

#ifdef __cplusplus
extern "C" {
#endif

	// show() will Pop() two and print the delta to log()
	// does nothing unless debug is on

extern void pushTSC(void);

	// the pop reads once & pop once & take difference

extern double popTSC(void);
extern double popTSChz(void);

	// primitives

typedef unsigned long tsc_type [2];

extern void readTSC(unsigned long *tsc);
extern double diffTSC(unsigned long *tsc1,unsigned long *tsc2);
extern double diffTSChz(unsigned long *tsc1,unsigned long *tsc2);

void showPopTSC(const char *tag,FILE * fp);
void showPopTSCper(FILE * fp,const char *tag,int items,const char *itemTag);

void showTSC(const char *tag,FILE * fp,double time);
void showTSCper(FILE * fp,const char *tag,int items,const char *itemTag,double time);

double secondsPerTSC(void);

int tscMHZ(void);

double readTSChz(void);
double timeTSC(void);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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