view TaskManager/Cell/spe/StartProfile.cc @ 672:3b6290c05f9f

add profiling code
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 05 Dec 2009 20:20:08 +0900
parents
children
line wrap: on
line source

#include "StartProfile.h"
#include "SchedTask.h"
#include "stdio.h"

SchedDefineTask(StartProfile);

static int
run(SchedTask *smanager, void *rbuf, void *wbuf)
{
    smanager->start_profile();

    return 0;
}