Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #130457

Re: OpenMP and AVX2 Problem

From "F. Russell" <fr@random.info>
Newsgroups comp.lang.c
Subject Re: OpenMP and AVX2 Problem
Date 2018-05-12 17:46 +0000
Organization NewsGuy.com
Message-ID <pd79ai02vlq@news1.newsguy.com> (permalink)
References <pd703u02761@news2.newsguy.com> <BhEJC.101707$ta2.49032@fx03.am4>

Show all headers | View raw


On Sat, 12 May 2018 16:05:53 +0000, Melzzzzz wrote:

>
> Replace that with clock_gettime or gettimofday
> 

Clock_gettime() measures ELAPSED time, or the time difference
of an external clock.  I don't want to measure ELAPSED time
because it may include other things on a multi-tasking system.

I want only the exact CPU time of my process and that is measured
with clock().

But I am not sure how multi-threading with clock() will behave
since I am only starting to investigate multi-threading.


Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OpenMP and AVX2 Problem "F. Russell" <fr@random.info> - 2018-05-12 15:09 +0000
  Re: OpenMP and AVX2 Problem Tim Prince <tprince@intelretiree.com> - 2018-05-12 11:33 -0400
  Re: OpenMP and AVX2 Problem Melzzzzz <Melzzzzz@zzzzz.com> - 2018-05-12 16:05 +0000
    Re: OpenMP and AVX2 Problem "F. Russell" <fr@random.info> - 2018-05-12 17:46 +0000
    Re: OpenMP and AVX2 Problem "F. Russell" <fr@random.info> - 2018-05-12 19:10 +0000
  Re: OpenMP and AVX2 Problem [SOLVED] "F. Russell" <fr@random.info> - 2018-05-12 19:42 +0000
    Re: OpenMP and AVX2 Problem [SOLVED] Keith Thompson <kst-u@mib.org> - 2018-05-12 14:04 -0700
  Re: OpenMP and AVX2 Problem scott@slp53.sl.home (Scott Lurndal) - 2018-05-13 17:47 +0000
  Re: OpenMP and AVX2 Problem Wouter Verhelst <w@uter.be> - 2018-05-13 09:57 +0200

csiph-web