VirtualBox

Changeset 2848 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 24, 2007 5:35:48 PM (18 years ago)
Author:
vboxsync
Message:

more/better release logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPit-i8254.cpp

    r2781 r2848  
    300300    pit_irq_timer_update(s, s->count_load_time);
    301301
    302     /* log the new rate if it's high enough. */
    303     if (    (   s->mode == 2
    304              || s->mode == 3)
    305         &&  s->count < 0x10000
     302    /* log the new rate (ch 0 only). */
     303    if (    s->pTimerHC /* ch 0 */
    306304        &&  s->cRelLogEntries++ < 32)
    307         LogRel(("PIT: mode=%d count=%#x - %d.%02d Hz\n", s->mode, s->count,
    308                 PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100));
     305        LogRel(("PIT: mode=%d count=%#x (%u) - %d.%02d Hz (ch=0)\n",
     306                s->mode, s->count, s->count, PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100));
    309307}
    310308
     
    747745        SSMR3GetS64(pSSMHandle, &s->next_transition_time);
    748746        if (s->CTXSUFF(pTimer))
     747        {
    749748            TMR3TimerLoad(s->CTXSUFF(pTimer), pSSMHandle);
     749            LogRel(("PIT: mode=%d count=%#x (%u) - %d.%02d Hz (ch=%d) (restore)\n",
     750                    s->mode, s->count, s->count, PIT_FREQ / s->count, (PIT_FREQ * 100 / s->count) % 100, i));
     751        }
     752        pData->channels[0].cRelLogEntries = 0;
    750753    }
    751754
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette