18.337 WebMeeting


Message from: Xiangwei Liu (xwliu@math.mit.edu)
About: Rules Clarifications

Wed, 23 Apr 97 17:36:24 EDT

  • Next message: Steven G. Johnson: "IMPORTANT REMINDER: Timing Change"
    The actual code for cilk timing can be like this:

    #include <cilk.h>
    #include <cilk-lib.h>
    Cilk_time start , end;
    double nsec;
    sync; // Update timer
    start = Cilk_get_wall_time();
    spawn your_matrix_mul();
    sync;
    end = Cilk_get_wall_time();
    nsec = Cilk_wall_time_to_sec(end - start);
    ...
    ----
    NOTE: This message was sent using a WWW form. The address xwliu@math.mit.edu
    was typed manually, and may easily be incorrect.


    You may post a follow-up message or a new message. To send a reply directly to the author, you may click on the email address above.

    If you would like to submit a message using your own mail program, send it to: 18.337-wm@webmeet.mit.edu

    If you are following up this article, please include the following line at the beginning of your message:
    In-Reply-To: 9704232136.AA19724@arachnophobia.MIT.EDU