Revision: 938
Author: tim.bunce
Date: Thu Dec 10 02:46:54 2009
Log: Added mention of quiet=>$bool argument to new() method.
Noted inability to merge profile data.

http://code.google.com/p/perl-devel-nytprof/source/detail?r=938

Modified:
  /trunk/lib/Devel/NYTProf/Data.pm

=======================================
--- /trunk/lib/Devel/NYTProf/Data.pm    Fri Dec  4 12:40:49 2009
+++ /trunk/lib/Devel/NYTProf/Data.pm    Thu Dec 10 02:46:54 2009
@@ -58,7 +58,12 @@

  =head2 new

-  $profile = Devel::NYTProf::Data->new( { filename => 'nytprof.out' } );
+  $profile = Devel::NYTProf::Data->new( );
+
+  $profile = Devel::NYTProf::Data->new( {
+    filename => 'nytprof.out', # default
+    quiet    => 0,             # default, 1 to silence message
+  } );

  Reads the specified file containing profile data written by  
L<Devel::NYTProf>,
  aggregates the contents, and returns the results as a blessed data  
structure.
@@ -849,6 +854,10 @@

  XXX

+=head1 LIMITATION
+
+There's currently no way to merge profile data from multiple files.
+
  =head1 SEE ALSO

  L<Devel::NYTProf>
@@ -862,7 +871,7 @@
  =head1 COPYRIGHT AND LICENSE

   Copyright (C) 2008 by Adam Kaplan and The New York Times Company.
- Copyright (C) 2008 by Tim Bunce, Ireland.
+ Copyright (C) 2008,2009 by Tim Bunce, Ireland.

  This library is free software; you can redistribute it and/or modify
  it under the same terms as Perl itself, either Perl version 5.8.8 or,

-- 
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]

Reply via email to