~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to erts/emulator/beam/erl_gc.c

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
        get_now(&ms2, &s2, &us2);
401
401
        t = ms2 - ms1;
402
402
        t = t*1000000 + s2 - s1;
403
 
        t = t*1000 + (us2 - us1)/1000;
 
403
        t = t*1000 + ((Sint) (us2 - us1))/1000;
404
404
        if (t > 0 && (Uint)t > erts_system_monitor_long_gc) {
405
405
            monitor_long_gc(p, t);
406
406
        }