[GHC] #8861: Use commas to separate thousands when printing memory stats

GHC ghc-devs at haskell.org
Sun Mar 9 08:36:49 UTC 2014


#8861: Use commas to separate thousands when printing memory stats
-------------------------------+-------------------------------------------
        Reporter:  ErlendH     |            Owner:
            Type:  feature     |           Status:  patch
  request                      |        Milestone:
        Priority:  lowest      |          Version:  7.6.3
       Component:  GHCi        |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by ErlendH):

 The formatting code that prints bytes used when passing the `-s` switch to
 the RTS is in the RTS C code (`showStgWord64()` in `rts/RtsUtils.c`), so
 that code would probably be difficult to reuse.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8861#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list