[comp.sys.transputer] Hi precision timer for Helios C.

per@iesd.auc.dk (Per Langfeldt Hagen) (02/08/91)

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                           |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~