ENV: linux Version: Mandrake 8.1, PCMCIA card: longshine lcs-8534TB.
(supported according the PCMCIA docs)
laptop is P-II lifetec
/etc/sysconfig/pcmcia:
PCMCIA=yes
PCIC=i82365 ( found via probe -m )
PCIC_OPTS="cs_irq=11 pci_irq_list=11,11 do_scan=0" ( you see i want to force irq 11 )... (3 Replies)
FreeBSD 4.5
i installed my sound drivers (which are onboard) with the following lines in my kernel
device pcm
options PNPBIOS
then cd /dev
sh MAKEDEV snd0
output from cat /dev/sndstat show the devicedriver (correct one)
ok this works nice
untill i enter my kde and want to play a... (1 Reply)
hi,
i looked around already and had no luck finding anything.
Im trying ot install a wpc11v3 linksys wireless card, and i have been for about a week now. :mad: Im near certain i have figured out my problem. When i plug in my card while knoppix is running, it crashes. When i plug it into... (0 Replies)
Hi,
I want to increase IRQ4 priority to maximum in Fedora core 9 (kernel version 2.6.25.11-97).If anybody knows plz help me....
I will be very thankful ..
regards,
Raj (0 Replies)
I have a SCO 5.0.7 server.As there is no parellel port ,printing is done via USB port.
After loading the Network Card driver ,during booting the server gets hanged and the NIC driver is not loaded.If the USB ports are disabled the NIC driver gets loaded.
As both USB and NIC driver are essential... (0 Replies)
Hi all,
I am a Linux newbie in kernel development. In class I was asked a question about IRQ distribution as followed.
IRQs can be distributed among the available CPUs (in a multiple-CPU system) in two ways:
(1) Static distribution
The IRQ signal is delivered to the local APICs listed... (2 Replies)
Hello everyone. I feel that I'm about to answer my own question, but I just want to be sure that I'm right. I know computers all use, at a very low level, the IRQ system of interrupting the CPU when it needs something. My questions are as follows:
1. Does the device in question, say.. a mouse,... (1 Reply)
Hello,
I'm writing some serial(UART) handler but have stuck on few issues, maybe anyone can help to show me what I'm doing wrong.
Basically I'm intending to write serial RX signal handler.
Application receives defined packages of data over serial which contains header and payload. Handler... (3 Replies)
Discussion started by: Lauris_k
3 Replies
LEARN ABOUT CENTOS
papi_start
PAPI_start(3) PAPI PAPI_start(3)NAME
PAPI_start -
Start counting hardware events in an event set.
SYNOPSIS Detailed Description
C Interface:
#include <papi.h>
int PAPI_start( int EventSet );
Parameters:
EventSet -- an integer handle for a PAPI event set as created by PAPI_create_eventset
Return values:
PAPI_OK
PAPI_EINVAL -- One or more of the arguments is invalid.
PAPI_ESYS -- A system or C library call failed inside PAPI, see the errno variable.
PAPI_ENOEVST -- The EventSet specified does not exist.
PAPI_EISRUN -- The EventSet is currently counting events.
PAPI_ECNFLCT -- The underlying counter hardware can not count this event and other events in the EventSet simultaneously.
PAPI_ENOEVNT -- The PAPI preset is not available on the underlying hardware.
PAPI_start starts counting all of the hardware events contained in the previously defined EventSet. All counters are implicitly set to zero
before counting. Assumes an initialized PAPI library and a properly added event set.
Example:
* int EventSet = PAPI_NULL;
* long long values[2];
* int ret;
*
* ret = PAPI_create_eventset(&EventSet);
* if (ret != PAPI_OK) handle_error(ret);
*
* // Add Total Instructions Executed to our EventSet
* ret = PAPI_add_event(EventSet, PAPI_TOT_INS);
* if (ret != PAPI_OK) handle_error(ret);
*
* // Start counting
* ret = PAPI_start(EventSet);
* if (ret != PAPI_OK) handle_error(ret);
* poorly_tuned_function();
* ret = PAPI_stop(EventSet, values);
* if (ret != PAPI_OK) handle_error(ret);
* printf("%lld
",values[0]);
*
See Also:
PAPI_create_eventset PAPI_add_event PAPI_stop
Author
Generated automatically by Doxygen for PAPI from the source code.
Version 5.2.0.0 Tue Jun 17 2014 PAPI_start(3)