view cos/kernel/timer.c @ 314:38f5f298ce0e

Add log for interference graph
author Windel Bouwman
date Wed, 18 Dec 2013 20:22:20 +0100
parents 8012221dd740
children
line wrap: on
line source

#include "kernel.h"

static uint64_t ticks = 0;

void timerDriverUpdate()
{
   ticks++;
   task_scheduler();
}

uint64_t getTimeMS()
{
  return 55*ticks;
}

void timer_init()
{
   ticks = 0;
}