This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 168148 - Can't save profiler result as text
Summary: Can't save profiler result as text
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-05 19:41 UTC by soldatov
Modified: 2010-11-19 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2009-07-05 19:41:59 UTC
In NetBeans I can't save profiler results ("CPU Time Per Function" tab) as text in order to send it other man.

Workaround:
1) make screenshot
2) use Sun Studio IDE. text is copied from Sun Studio:
11,518	11,518	<Total>
2,071	2,502	__double_to_digits
1,761	1,761	_putsw
1,351	8,176	_ndoprnt
1,341	11,488	Mandelbrot()
0,430	0,430	__four_digits_quick
0,420	5,704	__fast_double_to_decimal
0,420	6,485	fconvert
0,340	0,550	std::sqrt(long double)
0,300	0,400	complex::operator+(const complex&)
0,290	0,620	__mul_set
0,250	0,250	__xtol
0,230	0,230	complex::operator=(const complex&)
0,210	0,210	sqrtl
0,200	0,320	__get_ieee_flags
0,190	0,190	complex::complex(long double,long double)
0,190	0,280	complex::operator*(const complex&)
0,180	0,731	abs(complex&)
0,180	0,180	memcpy
0,170	6,034	double_to_decimal
0,160	0,160	__base_conversion_set_exception
0,130	0,130	_putcw
0,120	0,120	__arint_set_n
0,120	0,120	_getsw
0,080	1,661	__set_ieee_flags
0,080	0,080	ferror
0,080	0,080	getxfdat
0,060	0,060	__dabs
0,040	0,120	_realbufend
0,040	8,256	fprintf
0,030	0,030	__xgetRD
0,030	11,518	main
0,020	0,020	_getcw
0,   	0,   	__write
0,   	0,   	_dowrite
0,   	0,   	_fwrite_unlocked
0,   	11,518	_start
0,   	0,   	_xflsbuf
0,   	0,   	write
Comment 1 soldatov 2010-11-18 11:49:55 UTC
it will be nice feature
Comment 2 Leonid Lenyashin 2010-11-18 13:14:39 UTC
Aren't you looking for the er_print utility functionality? You can basically send the entire experiment, can't you?
Comment 3 soldatov 2010-11-19 09:14:06 UTC
For example I want to rewrite 1 function in my API only and my test program contains very simple code:
#include "...."
int main() {
  sleep(5);
  foo("some_file"); // <-- slow function from my library
  sleep(5);
  return 0;
}

I want to save top 5-10 functions only in order to compare time before and after all changes. In GUI I can't do it quickly.