Search found 4 matches

by ObsidianX
Thu Mar 22, 2012 12:54 am
Forum: devkitPPC
Topic: gettimeofday() inaccuracy
Replies: 3
Views: 8946

Re: gettimeofday() inaccuracy

For the record, after much Google'ing around I finally found that if I use gettime() and diff_usec(start_time, current_time) I can get an elapsed time in microseconds.
There are various diff_ functions for different time measurements available.
All are found in <ogc/lwp_watchdog.h>
by ObsidianX
Sat Mar 17, 2012 7:32 am
Forum: devkitPPC
Topic: gettimeofday() inaccuracy
Replies: 3
Views: 8946

gettimeofday() inaccuracy

Hey folks, I'm in search of a microsecond- or nanosecond-accurate timer for a project but the microsecond field returned from gettimeofday() is completely bogus. As a test I wrote a simple loop that calls gettimeofday() 100 times and prints the results each time before quitting. Here's what it looks...
by ObsidianX
Fri Oct 10, 2008 12:52 am
Forum: devkitARM
Topic: Dynamic libraries
Replies: 3
Views: 2669

Re: Dynamic libraries

I'm writing an app for the NDS and I'd like to have dynamically loadable plugins for it.
by ObsidianX
Fri Oct 03, 2008 4:21 am
Forum: devkitARM
Topic: Dynamic libraries
Replies: 3
Views: 2669

Dynamic libraries

Hello! I was wondering if there was any way to create and use dynamic libraries using devkitARM? Looking around the headers I notice there's no dlfnc.h header which is what's used in Linux. If there's any way for this to work or for me to create my own dynamic library loading system (long shot) I'd ...