CSAPP-sol/perf/config.h
2025-08-28 13:13:50 +08:00

33 lines
877 B
C

/*********************************************************
* config.h - Configuration data for the driver.c program.
*********************************************************/
#ifndef _CONFIG_H_
#define _CONFIG_H_
/*
* CPEs for the baseline (naive) version of the rotate function that
* was handed out to the students. Rd is the measured CPE for a dxd
* image. Run the driver.c program on your system to get these
* numbers.
*/
#define R64 14.7
#define R128 40.1
#define R256 46.4
#define R512 65.9
#define R1024 94.5
/*
* CPEs for the baseline (naive) version of the smooth function that
* was handed out to the students. Sd is the measure CPE for a dxd
* image. Run the driver.c program on your system to get these
* numbers.
*/
#define S32 695
#define S64 698
#define S128 702
#define S256 717
#define S512 722
#endif /* _CONFIG_H_ */