Thanks for the tip.
I found a demo for the MSC8156ADS board that implemented Core and Device Timers to test the runtime of different segments of code. It's found in: {CW install dir}\SC\StarCore_Support\MiniDrivers\MSC8156ADS\
From this demo, I dedided to implement a version of the device timer measurement example with some of my code. Everything works beautifully when I create a project using C (since the libraries that define the timers are provided only in C), but the code I need to test is in C++. My code is huge and I can't convert the whole thing to C.
I've attached the code snippet I'm trying to run in C++ (called "Code").
I couldn't attach the library I used to run the project in C, but it's called "msc815x_libr.elb"...it also works in C when I use "msc815x_libd.elb"
I've also attached the error message it's giving me currently (called "Error"). I think it's a linker error, since everything is set up identically in both my C and C++ projects (aside from the source code of course). Is there a way to obtain this library (msc815x_libr.elb or msc815x_libd.elb) in C++, or a way to tell the linker to translate it into C++?
Thanks for all your time and help.
-DR