libcdio-paranoia 10.2+2.0.2
Macros | Functions
cachetest.c File Reference
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <cdio/paranoia/cdda.h>
#include <cdio/paranoia/paranoia.h>
#include <cdio/paranoia/version.h>
#include "cachetest.h"

Macros

#define MIN_SEEK_MS   6
 
#define reportC(...)
 
#define printC(...)   {if(progress){fprintf(progress, __VA_ARGS__);}}
 
#define logC(...)   {if(log){fprintf(log, __VA_ARGS__);}}
 

Functions

int analyze_cache (cdrom_drive_t *d, FILE *progress, FILE *log, int speed)
 

Macro Definition Documentation

◆ logC

#define logC (   ...)    {if(log){fprintf(log, __VA_ARGS__);}}

◆ MIN_SEEK_MS

#define MIN_SEEK_MS   6

◆ printC

#define printC (   ...)    {if(progress){fprintf(progress, __VA_ARGS__);}}

◆ reportC

#define reportC (   ...)
Value:
{if(progress){fprintf(progress, __VA_ARGS__);} \
if(log){fprintf(log, __VA_ARGS__);}}

Function Documentation

◆ analyze_cache()

int analyze_cache ( cdrom_drive_t d,
FILE *  progress,
FILE *  log,
int  speed 
)

analyze_cache() - analyze drive cache management.