HELP is urgently required,
I run on SCO Unix 3 and this is the panic message that I get every time that I reboot 10U
k_trap - kernel mode trap type 0x0000000E
I have checked the swap already having the following results:
#swap -l
path dev swaplo blocks free... (3 Replies)
hi,
I am trying to install sco openserver 5.0.4 on an old system. However, l was not able to proceed after putting the bootstr
l have this panic message of
PANIC: K_trap - kernel mode trap tupe 0x00000006
will someone kindly help to decode this error
kayode (1 Reply)
ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before?
I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system.
Please Help... (2 Replies)
Hi all,
I am trying to setup a program to use a device driver and am confusing buffer access between User and Kernel mode. I think all applications running in User space have to communicate with the device drivers using io control calls and then have some functions called back from the driver... (1 Reply)
Hi all i have queastion. Can anybody pease help me
what is user mode and kernel mode and the term "De-mountable volumes" means?
Thanks
Palash (2 Replies)
Hi, i'm another question:
I'm a directory /usr/data on my server sco unix 5.0.5:
# du /usr/data
4386948 /usr/data
I'm tried to connect to ftp directory /usr/data to this server and:
PANIC: k_trap - Kernel mode trap type 0x0000000E
Cannot dump 262040 pages to dumpdev hd(1/41):space... (3 Replies)
Hi,all:
I run my program which consists of one kernel module and one user mode process on a dual core server. The problem here is the kernel module consumes 100% of one core while the user mode process only consumes 10% of the other core, is there any solution that I can assign some computing... (1 Reply)
When accessing a user mode buffers from kernel space drivers what precautions must we take and how those precautions need to be implemented? (0 Replies)
Discussion started by: rupeshkp728
0 Replies
LEARN ABOUT DEBIAN
ggcurtime
ggCurTime(3) GGI ggCurTime(3)NAME
ggCurTime, ggUSleep, ggUSlumber - Portable Time Routines
SYNOPSIS
#include <ggi/gg.h>
int ggCurTime(struct timeval *tv);
int ggUSleep(int32_t usecs);
void ggUSlumber(int32_t usecs);
DESCRIPTION
ggCurTime fills the timeval structure pointed to by tv with the current time to the best precision available on the executing platform.
ggUSleep sleeps for at least usecs microseconds, to the best precision available on the executing platform, but may be woken up by a signal
or other unspecified condition. It is not guaranteed that ggUSleep will wake up prematurely for any specific reason. It is mainly useful
for points where the main objective is to avoid using CPU resources, not to perform accurate timing.
ggUSlumber does the same thing as ggUSleep, but is guaranteed not to return until the allotted time has elapsed. It is slightly less effi-
cient than ggUSleep with reguard to CPU utilization.
All times represent wall-clock (real, versus processor) times.
The above routines are often simple macros rather than functions, and as such should not be used by reference.
The above functions are threadsafe, but are not guaranteed to be safe to use in a thread that may be cancelled during their execution.
They are also not guaranteed to be safe to use in special contexts such as LibGG task handlers, signal handlers and asyncronous procedure
calls.
RETURN VALUE
ggCurTime returns GGI_OK on success, or a negative value on failure. On Windows, this function will never report a failure. On platforms
where gettimeofday(2) is used, the error code is the one returned by gettimeofday.
ggUSleep returns GGI_OK when the alloted time interval has elapsed, or a non-zero value if the sleep was interrupted. On platforms where
usleep(3) is used, the error code is the one return by usleep.
EXAMPLE
A demonstration on how to measure a framerate.
struct timeval start, stop, diff;
long time_of_frame = 1;
int framerate;
...
ggCurTime(&start);
/* do something here, i.e. render and display a frame */
ggCurTime(&stop);
diff.tv_sec = stop_tv.tv_sec - start_tv.tv_sec;
diff.tv_usec = stop_tv.tv_usec - start_tv.tv_usec;
if (diff.tv_usec < 0) {
diff.tv_usec += 1000000;
diff.tv_sec--;
}
time_of_frame = diff.tv_sec * 1000 + diff.tv_usec / 1000;
if (time_of_frame == 0)
time_of_frame = 1; /* CPU too fast? */
printf("framerate: %i
", 1000 / time_of_framerate);
SEE ALSO gettimeofday(2), usleep(3)libgg-1.0.x 2005-08-26 ggCurTime(3)