libcdio-paranoia  10.2+0.94+2git
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

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

Referenced by analyze_cache().

#define MIN_SEEK_MS   6

Referenced by analyze_cache().

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

Referenced by analyze_cache().

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

Referenced by analyze_cache(), and main().

Function Documentation

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