view example/renew_task/spe/Renew4.cc @ 356:b89ba1d96fff

merge heads
author aaa
date Fri, 17 Jul 2009 15:04:02 +0900
parents 81b25e5d5379 c59d8927c4d1
children 44c0bce54dcf
line wrap: on
line source

#include <stdio.h>
#include "Renew4.h"
#include "SpeProfile.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(Renew4);

int
Renew4::run(void *rbuf, void *wbuf)
{
    SpeProfile *profile = (SpeProfile*) global_get(0);
    profile->ProfStop();
    profile->ProfPrint();

    printf("[SPE] ** running Renew4\n");
    
    printf("[SPE] ** finish  Renew4\n");

    global_free(0);

    return 0;
}