🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.transputer
Article #1374

Hi precision timer for Helios C.

#1374
From: Per Langfeldt Hagen
Date: Fri, 08 Feb 1991 15:20
41 lines
2578 bytes
Dear netters

We are a group of students writing our Masters Thesis, in the area of
parallel computing on transputers. We have written a C++ Linda runtime
environment and a precompiler, all written in C++ and compiled on
transputers running Helios. ( We have ported and compiled version 1.2
of AT&T's cfront C++ precompiler to Helios. We are still waiting for
the source code for version 2.1 to be delivered from AT&T )

Now we need to do an intensive profiling of the system. We need a
timer with a much greater precision than the _cputime() primitive,
which is in Helios. The precision must be in microseconds.

Do any of you have an implementation of such a timer, for Helios C vers.
1.17, or do you have an idea of how to implement it? Either in Helios
C or in assembler.

We have an other question. How do one create user C-libraries which
are shared just like "clib" etc. We have ported and compiled and
created the AT&T C++ library, but we have not been able to make it
shared. We have not been able to find any literature on how to create
a library, so what we have done is to use:

        asm -p -o LRTElib.def OBJECT_FILES

But this does, as far as we can detect, not create a shared library.
Can You give us any info on how to make shared libraries?
  
-Per
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       ___  ___  ___                                                  |
|      /  / /    /  /  University of Aalborg, Denmark                  |
|     /__/ /__  /__/   email     per@iesd.auc.dk{...}                  |
|    /    /___ /   \                                                   |
|                                                                      |
|  Per L. Hagen, Revlingbakken 73, 9000 Aalborg, Denmark, Europe       |
|            International | +45 98 18 40 24                           |
|  Telephone: -------------|-----------------    Opinions are my own!  |
|            National      |     98 18 40 24                           |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <PER.91Feb8152016@alpha.iesd.auc.dk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!iesd!iesd.auc.dk!per

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!iesd!iesd.auc.dk!per
From: per@iesd.auc.dk (Per Langfeldt Hagen)
Newsgroups: comp.sys.transputer
Subject: Hi precision timer for Helios C.
Message-ID: <PER.91Feb8152016@alpha.iesd.auc.dk>
Date: 8 Feb 91 15:20:16 GMT
Sender: news@iesd.auc.dk (UseNet News)
Organization: Mathematics and Computer Science, University of Aalborg
Lines: 41