Quick question, is there a 'correct' ML way of dumping info to a logfile or card? Should I use FIO Create/WriteFile?
I'm looking for the best way to printf the values of a few params for investigating.
Thanks
You can try:
- FIO_CreateFileEx and FIO_WriteFile or my_fprintf (quite slow if you call it 1000 times, but should be fine for simple stuff)
- use g3gg0's trace module (buffered, so it's fast enough to print stuff from state objects, ADTG or other time-critical tasks)
Thanks A1ex, FIO_CreateFileOrAppend worked well enough for now, but if I get time I'll look at the trace module.