mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
Detecting CPU vendor. Support for printing ascii
This commit is contained in:
32
printer.h
32
printer.h
@@ -1,22 +1,26 @@
|
||||
#ifndef __PRINTER__
|
||||
#define __PRINTER__
|
||||
|
||||
//#include "ascii.h"
|
||||
#include "01h.h"
|
||||
#include "ascii.h"
|
||||
|
||||
//void print_ascii(int n);
|
||||
struct ascii;
|
||||
|
||||
#define TITLE_NAME "Name: "
|
||||
#define TITLE_ARCH "Arch: "
|
||||
#define TITLE_FREQUENCY "Frequency: "
|
||||
#define TITLE_NCORES "N.Cores: "
|
||||
#define TITLE_AVX "AVX: "
|
||||
#define TITLE_SSE "SSE: "
|
||||
#define TITLE_FMA "FMA: "
|
||||
#define TITLE_AES "AES: "
|
||||
#define TITLE_SHA "SHA: "
|
||||
#define TITLE_L1 "L1 Size: "
|
||||
#define TITLE_L2 "L2 Size: "
|
||||
#define TITLE_L3 "L3 Size: "
|
||||
struct ascii* set_ascii(VENDOR cpuVendor);
|
||||
void print_ascii(struct ascii* art, int n);
|
||||
|
||||
#define TITLE_NAME "Name: "
|
||||
#define TITLE_ARCH "Arch: "
|
||||
#define TITLE_FREQUENCY "Frequency: "
|
||||
#define TITLE_NCORES "N.Cores: "
|
||||
#define TITLE_AVX "AVX: "
|
||||
#define TITLE_SSE "SSE: "
|
||||
#define TITLE_FMA "FMA: "
|
||||
#define TITLE_AES "AES: "
|
||||
#define TITLE_SHA "SHA: "
|
||||
#define TITLE_L1 "L1 Size: "
|
||||
#define TITLE_L2 "L2 Size: "
|
||||
#define TITLE_L3 "L3 Size: "
|
||||
#define TITLE_PEAK "Peak FLOPS: "
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user