Motr  M0
chs_test.c File Reference
#include <stdio.h>
#include <math.h>
#include "motr/init.h"
#include "desim/sim.h"
#include "desim/storage.h"
#include "desim/chs.h"
#include "desim/net.h"
#include "desim/client.h"
#include "desim/elevator.h"
Include dependency graph for chs_test.c:

Go to the source code of this file.

Enumerations

enum  { LBA_D = 10, ROUNDS = 10, TRACK_D = 8, TRACK_S = 2500 }
 

Functions

static double seekto (struct sim *s, int64_t sector, int sectors)
 
static void seek_test_thread (struct sim *s, struct sim_thread *t, void *arg)
 
static int seek_test_start (struct sim_callout *co)
 
int main (int argc, char **argv)
 

Variables

static struct chs_conf ST31000640SS
 
static struct chs_dev disc
 
static struct elevator el
 
static struct sim_thread seek_thr