Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Does MAME use profiler.c?  (Read 821 times)

0 Members and 1 Guest are viewing this topic.

Stormrider

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 318
  • Last login:September 28, 2014, 11:01:54 am
Does MAME use profiler.c?
« on: October 28, 2009, 07:04:43 pm »
I'm compiling and no matter if I make changes to compiler.c it is ignored and actually mingw says there's nothing to be done. I was trying to change the behaviour of the performance counter to the old style: 60/60. I've noticied there's a change from 113 to 114 in the line:

if (computed) showdelay = SUBSECONDS_TO_HZ(Machine->screen[0].refresh);

to

if (computed) showdelay = Machine->screen[0].refresh;

This is also in 118, which is the version I was compiling. I wonder if this is possible. To put things worse, this file in 134 is completetelly different. Should I keep on trying or is this new profiler a complex change that cannot be converted into a fps counter without a lot of modifications?

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1002
  • Last login:May 31, 2024, 06:23:16 pm
  • I'm a llama!
Re: Does MAME use profiler.c?
« Reply #1 on: October 28, 2009, 11:16:10 pm »
In the makefile;

Code: [Select]
# uncomment next line to include the internal profiler
# PROFILER = 1
Old, but not obsolete.