SGI: Development

Problem at building telegram-purple - Page 2

foetz wrote: there're still some declarations missing and CLOCK_MONOTONIC doesn't exist on irix

CLOCK_SGI_CYCLE can be used as a replacement
Now this is a deep dark secret, so everybody keep it quiet :)
It turns out that when reset, the WD33C93 defaults to a SCSI ID of 0, and it was simpler to leave it that way... -- Dave Olson, in comp.sys.sgi

Currently in commercial service: Image :Onyx2: (2x) :O3x02L:
In the museum : almost every MIPS/IRIX system.
Wanted : GM1 board for Professional Series GT graphics (030-0076-003, 030-0076-004)
jan-jaap wrote:
foetz wrote: there're still some declarations missing and CLOCK_MONOTONIC doesn't exist on irix

CLOCK_SGI_CYCLE can be used as a replacement

Seriously? I might have figured that out in like, a million years of googleing. jan-jaap, you truly are the Oracle... 8-)
Project:
Temporarily lost at sea...
Plan:
World domination! Or something...
Thanks for the hint! I will try this change this evening.
:Octane2: SGI Octane 2 - Dual R12K 400 MHz - 250 0MB RAM - 73 GB HDD - vPro v12 - IRIX 6.5.30
:Indigo2IMP: SGI Indigo² - R10K 175 MHz - 320 MB RAM - 73 GB SCSI HDD - High Impact-AA + TRAM - IRIX 6.5.22f
:O2: SGI O2 - R5K 180 MHz - 96 MB RAM - 18 GB HDD - CRM - IRIX 6.5.30
vishnu wrote: a million years of googleing.

Google, meh. What's wrong with going straight to the source :)

CLOCK_SGI_CYCLE and CLOCK_MONOTONIC may have different corner cases, especially on 32bit systems (wrapping).

If you want a linear counter rather than a struct timespec, check the documentation of the SGI_QUERY_CYCLECNTR request to syssgi .
Now this is a deep dark secret, so everybody keep it quiet :)
It turns out that when reset, the WD33C93 defaults to a SCSI ID of 0, and it was simpler to leave it that way... -- Dave Olson, in comp.sys.sgi

Currently in commercial service: Image :Onyx2: (2x) :O3x02L:
In the museum : almost every MIPS/IRIX system.
Wanted : GM1 board for Professional Series GT graphics (030-0076-003, 030-0076-004)
vishnu wrote:
jan-jaap wrote:
foetz wrote: there're still some declarations missing and CLOCK_MONOTONIC doesn't exist on irix

CLOCK_SGI_CYCLE can be used as a replacement

Seriously? I might have figured that out in like, a million years of googleing. jan-jaap, you truly are the Oracle... 8-)

:P

it's a classic. after building a bunch of freeware you come across that one way or the other :D
r-a-c.de