Displaying 20 results from an estimated 1000 matches similar to: "How to calculate java method timestamp?"
2007 Oct 11
3
Please Help.
Hi,
I want to use USDT in my java applications.
Please tell me how to achieve this.
I am comfortable with SDT in C application.
I am using Solaris Sparc10 with Generic_120011-14 version.
Do I need to update my machine for this?
Thanks,
Ajit
--
This message posted from opensolaris.org
2006 Oct 13
3
error running webserver 7 with the DTrace dvm agents...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#330000" bgcolor="#ffffff">
<tt><font size="+1">I am attempting to run the sun webserver 7
2006 Oct 11
5
Where is djvmti Agent?
What am I missing?
[Download dvm.zip from https://solaris10-dtrace-vm-agents.dev.java.net/]
[root at load0 /]$ mkdir /opt/dvm;cd /opt/dvm
root at load0 dvm]$ unzip /home/jbuckley/dvm.zip
[jbuckley at load0 ~]$ more /etc/release
Solaris Nevada snv_45 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to
2006 Mar 01
3
vtimestamp skew, after restorectx()
Hello,
I''m using the below dtrace script to capture the flow and times of
kernel functions, from an ioctl() call. After an entry into
restorectx(), the trace of startimestamp - vtimestamp makes a dramatic
jump downwards. Here''s the snippet showing the jump...
6 -> di_checkmem 8 220176600
6 <- di_checkmem
2006 Mar 16
0
Re: Can dtrace agent of JDK be used in IBM Websphere?
Hi, Yufei:
Thanks for your kind action.
Let me centralize all the harm-hearted guys and involved alias in one email.
Below is the answer of your question (Can you reply with more details on
what failed? Does websphere use an IBM or Sun developed SDK? )
1. Seems IBM bundled JDK can not detect agent options, like below:
If use Sun JDK 1.5, no problem:
/usr/jdk/jdk1.5.0_06/bin/java
2006 Jul 06
3
Calling Method
Is there a way to call a method if I only have a string that contains
the method name.
For example:
@methods = [''method1'', ''method2'', ''method3'']
@step = 1
# I want to call method2 which has a definition in this class
--
Posted via http://www.ruby-forum.com/.
2011 Oct 25
5
[PATCH] pm : provide CC7/PC2 residency
x86 pm : provide CC7/PC2 residency
Sandy bridge introduces new MSR to get cc7/pc2 residency (core C-state 7/package C-state 2). Print the cc7/pc2 residency when on sandy bridge platform.
Signed-off-by: Yang Zhang <yang.z.zhang@intel.com>
diff -r 662dbf6ee71c tools/libxc/xc_pm.c
--- a/tools/libxc/xc_pm.c Mon Oct 24 18:01:07 2011 +0100
+++ b/tools/libxc/xc_pm.c Fri Oct 28
2012 May 03
6
Hosting application on private network.
Hi,
I have a Ruby on Rails application. I am able to run it in my local
system using Apache2 server. I would like to host my application so that
all the systems in the private network 192.168.3.0/24 should be able to
access the web-application. My system private-ip is 192.168.3.57.
Please help me what all configurations do I need to do.
Thank you
Ajit
--
Posted via
2006 Nov 24
19
Time/clock issues with Xen 3.0.3?
The time appears to be perfect inside dom0, however all the domU''s
tend to have a slightly faster date which gets further out of sync
every day.
I''m currently using Xen 3.0.3 with Gentoo Linux, under 3.0.2 I had no
problems with domU clocks. Are there any known issues which could
cause this? I''d strongly prefer not to run ntpd in every domU,
having all domU clocks in
2007 Feb 20
8
xen time sync problem
Hi,
I am facing problem in sync time within DomU with Dom0. After gone
through mailing lists, I have set /proc/sys/xen/independent_wallclock
to 0. But still DomU are not syncing their time :-S Machine using
kernel-xen-2.6.19-1.2911.fc6
xen-3.0.3-3.fc6
xen-libs-3.0.3-3.fc6
Please advice to solve this weird problem, Thanks
_______________________________________________
Xen-users mailing list
2008 Sep 09
1
DTrace and shared memory id
Hello all,
I saw this question about a year back in the archive[1], but with no
final answer.
I would like to trace shmget calls and also get the id of the shared
memory segment.
That script looked like[2], but we dont get the id since arg1 is the
errno value.
How do i access the shm id, i would need this to debug a customer
problem but i don''t have time to learn it the hard
2005 Oct 18
1
Error while using sdt interrupt-complete.
Has anyone seen the following error before?
"error on enabled probe ID 2 (ID 473:
sdt:unix:av_dispatch_autovect:interrupt-complete): invalid address
(0x198) in action #3 at DIF offset 20"
I''m trying to capture interrupt times as inlined in the below script.
The script gives me some output after the errors, and I''m trying to
understand if the errors are affecting
2006 Jan 26
3
global objects?
Forgive the term global if that''s not applicable in rails (i come from a
php background)
I have a browse controller with a couple of different methods
def method1
@properties = Property.find_all
#other stuff for that method
end
def method2
@properties = Property.find_all
#other stuff for that method
end
def method3
@properties = Property.find_all
#other stuff for that method
end
I
2012 Aug 01
2
'redirect_to' taking infinite loop.
Hi,
The following controller method taking me into infinite loop. Once the
update action completes I want to reload the ''index'' page. May I know
why it is going into infinite loop?
def update
Device.find_by_id( params[:device_id] ).driver = (
params[:driver_id] == 0 ) ? nil : Driver.find_by_id( params[:driver_id]
)
redirect_to :action => :index, :tab =>
2006 Oct 11
9
time synchronization problem (using NTP)
Hi,
using SLES10 I''m unable to synchronize the time of DomU with that of Dom0. There
is a persistent offset of about 3 seconds!
Here''s a small history (not actual output):
remote refid st t when poll reach delay offset jitter
rkdvmso1.dvm.kl 192.168.0.11 5 u - 64 1 0.136 -2977.1 0.099
*rkdvmso1.dvm.kl 192.168.0.11 5 u 2 64
2002 Sep 09
3
loading data from a specified directory
System info:
Linux slackware
R Version 1.5.1 (2002-06-17)
ESS 5.1.21
Emacs 21.2.1
-------------------
Colleagues
I have some text files in a certain directory and want to process them
sequentially. So I want to pass the filename identifier into a function
and loop through the processing of each file in turn.I've called the
file identifier f in this code segment:
image.dvm <- function
2006 Feb 17
3
CPU time stats
hi,
I am trying to find out the avg cpu time spent in each of my user
methods (exclusive of other methods invoked by a method).
Hence the following snippet failed miserably:
-----------------------
pid$target:a.out::entry
{ time[probefunc] = timestamp;}
pid$target:a.out::return
{ @spent[probefunc] = avg(timestamp - time[probefunc]);}
END
{ printa(@spent);}
2009 Sep 09
10
dtrace overhead and proper measuring technique
I''m trying to time a function within Firefoxwith a pid$target probe
[2]. e.g
dtrace -Zqw -x dynvarsize=64m -x evaltime=preinit -p 13954 -s menu-
construct.d -s sigcont.d
elapsed: 12.7942481ms
cpu : 7.7911194ms
count : 40 times
I''m also measuring Firefox startup time by running it arguments like
this:
... file:///Users/joelr/work/mozilla/startup/startup.html#`python
2006 Apr 22
3
Creating a select dropdown box with links to methods
What would be the best way to create a form select dropdown box and upon
"submit" have it directly go to a controller method view?
I have something that somewhat works, but I think there is probably a
much easier way to do it. As of now, I have the dropdown list which
when the form is submitted is handed to a controller method which
basically
I have my dropdown box:
<%=
2003 Feb 06
1
No struct cmsghdr - what to do ?
Hi all,
If any perticular OS does not have 'struct cmsghdr' in sys/socket.h and also
it does not have access rights in 'struct msghdr', then how the compilation
should be done ? Does anybody had similar problem earlier ?
Regards,
Ajit