view example/renew_task/spe/Renew4.cc @ 201:9484318b3e8f draft

add SceneGraphIterator
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 16:46:59 +0900
parents 6694da357750
children 768452fab95e cfd20d609ace
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*)smanager->global_get(0);
    profile->ProfStop();
    profile->ProfPrint();

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

    smanager->global_free(0);

    return 0;
}