|
|
| Author |
Message |
< Erlang ~ dots (...) in cprof output - what does it mean? |
| marstein |
Posted: Fri Jun 27, 2008 11:08 pm |
|
|
|
Joined: 25 Jun 2008
Posts: 3
Location: Palo Alto, CA, USA
|
I am running cprof to find bottlenecks, but I get a lot of dots in the output. Does someone have an idea how I can get the data instead, or why the dots are shown?
example:
Quote: {mnesia_tm,607905,
[{{mnesia_tm,do_arrange,...},396910},
{{mnesia_tm,...},18792},
{{...},...},
{...}|...]},
{yaws,575055,[{{yaws,...},178266},{{...},...},{...}|...]},
{erlsom_parse,458841,[{{...},...},{...}|...]},
{xmerl_scan,444140,[{...}|...]},
{file,414660,[...]}, |
|
|
| Back to top |
|
| francesco |
Posted: Sat Jun 28, 2008 11:07 am |
|
|
|
User
Joined: 07 Jul 2006
Posts: 249
Location: London
|
The shell process reduced the ammount of data to display with dots, so as to not clutter the output. (A list could have thousands of elements. You do not always want to show them all). To see everything, you need to bind the return value to a variable and print it using ~p.:
Code: X = mnesia:your_call().
io:format("~p~n",[X]).
Francesco
--
http://www.erlang-consulting.com |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|