Access to Registers November 24, 2009 05:44AM | Registered: 14 years ago Posts: 118 |
Re: Access to Registers November 24, 2009 06:07AM | Registered: 14 years ago Posts: 234 |
Re: Access to Registers November 24, 2009 08:09PM | Registered: 14 years ago Posts: 118 |
Re: Access to Registers November 24, 2009 10:01PM | Registered: 15 years ago Posts: 405 |
2 points, i can run dolphin on a amd sempron 1.8ghz, should be no problem for you (if you follow the super secret guide on the forums)Quote
dancinninja
I have tried insight, but seeing as how my computer is an AMD processor, and I can't seem to get Dolphin to run, I am unable to run any code without a Wii.
I do not have a USB gecko, and (I am a bit ashamed to admit this) I do not know how to patch libogc with the wifi patch. I got the patch, and was bewildered beyond belief as to how I could use it.
All I really wanted was just the ability to use the built-in timer... I just wanted to see if one piece of code was faster than another.
Re: Access to Registers November 24, 2009 10:48PM | Registered: 14 years ago Posts: 98 |
Re: Access to Registers November 25, 2009 05:58AM | Registered: 14 years ago Posts: 118 |
Re: Access to Registers November 25, 2009 11:12AM | Registered: 15 years ago Posts: 276 |
Quote
This brings up the question, however: does homebrew have 100% of the Wii's "attention"? Like, if one were running the program on Windows, it's also running a bunch of stuff in the background, which makes straight "time" measurements inconsistent and unreliable. However, if the homebrew had the full capacity of the Wii (I believe this is called running it in Kernel mode?) then it wouldn't be running anything else and hence, would make the time function a good indicator (at least, a better indicator).
Re: Access to Registers November 25, 2009 05:48PM | Registered: 14 years ago Posts: 118 |
int start; int end; //More declarations... start = time(NULL); printf("\n\t Start: %d", start); //More code... end = time(NULL); printf("\n\t End: %d", end);
Re: Access to Registers November 25, 2009 07:31PM | Registered: 15 years ago Posts: 276 |
#include "gctypes.h" external u64 gettime(); u64 start; u64 end; //More declarations... start = gettime(); printf("\n\t Start: %llu", start); //More code... end = gettime(); printf("\n\t End: %llu", end);
Re: Access to Registers November 28, 2009 02:18AM | Registered: 14 years ago Posts: 118 |