Thank you, Igor!
Best,
--Jeff
Jeffery A. Kuehn
Senior HPC Evaluation Researcher
Future Technologies Group, Computer Science and Mathematics Division and
Scientific Computing Group, National Center for Computational Sciences
Oak Ridge National Laboratory
One Bethel Valley Road MS6173
Oak Ridge, TN 37831
P:865.241.6134 F:865.241.2650
"The ability to advance the leading edge of technology is
constrained by the ability to prune the trailing edge."
-- Charles Dickens of Stanford University
Igor Peshansky wrote:
> Jeff Kuehn <[EMAIL PROTECTED]> wrote on 02/05/2008 02:40:22 PM:
>
>> Is there a recommended or preferred method for measuring performance of
>> an X10 program? (profiler, class library?)
>
> Hi, Jeff,
>
> One way we used for performance measurement so far was
> System.nanoTime() (or System.currentTimeMillis()). There is also
> support for abstract performance metrics (ideal time, number of
> operations executed, etc) with the -ABSTRACT_EXECUTION_STATS
> runtime flag.
>
>> PS. Is there a reason 'import static java.lang.Math;' doesn't work? It
>> would be nice to have access to sin() and log() instead of Math.sin()
>> and Math.log().
>
> The reason it doesn't work is that X10 is currently based mostly
> on Java 1.4 source syntax. We are moving towards supporting the
> Java 5 constructs, but aren't there yet. However, features like
> static imports, can be added incrementally -- we'll try to do
> this at some point soon.
> Igor
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users