Searched refs:load (Results 1 - 25 of 38) sorted by relevance

12

/haiku/headers/private/kernel/
H A Dload_tracking.h18 compute_load(bigtime_t& measureTime, bigtime_t& measureActiveTime, int32& load, argument
31 int32 oldLoad = load;
46 load = newLoad;
49 load = (load + newLoad) / (1 << n);
50 ASSERT(load >= 0 && load <= kMaxLoad);
H A Dint.h41 int32 load; member in struct:irq_assignment
/haiku/src/add-ons/kernel/debugger/bochs/
H A Dbochs.cpp31 bool load = false; local
37 load = get_driver_boolean_parameter(handle,
38 "bochs_debug_output", load, true);
41 if (load) {
45 return load ? B_OK : B_ERROR;
/haiku/src/add-ons/kernel/debugger/netconsole/
H A Dnetconsole.cpp80 bool load = false; local
89 load = get_driver_boolean_parameter(handle,
90 "netconsole_debug_output", load, true);
93 if (load)
95 return load ? B_OK : B_ERROR;
/haiku/src/tests/kits/net/netservices2/
H A DExclusiveBorrowTest.cpp80 CPPUNIT_ASSERT_EQUAL_MESSAGE("(1) Expected object to be deleted", true, deleted.load());
89 CPPUNIT_ASSERT_EQUAL_MESSAGE("(2) Object should not be deleted", false, deleted.load());
91 CPPUNIT_ASSERT_EQUAL_MESSAGE("(2) Expected object to be deleted", true, deleted.load());
101 CPPUNIT_ASSERT_EQUAL_MESSAGE("(3) Object should not be deleted", false, deleted.load());
103 CPPUNIT_ASSERT_EQUAL_MESSAGE("(3) Expected object to be deleted", true, deleted.load());
/haiku/src/system/kernel/scheduler/
H A Dscheduler_cpu.h163 inline void AddLoad(int32 load, uint32 epoch,
165 inline uint32 RemoveLoad(int32 load, bool force);
409 CoreEntry::AddLoad(int32 load, uint32 epoch, bool updateLoad) argument
414 ASSERT(load >= 0 && load <= kMaxLoad);
417 atomic_add(&fCurrentLoad, load);
419 atomic_add(&fLoad, load);
428 CoreEntry::RemoveLoad(int32 load, bool force) argument
433 ASSERT(load >= 0 && load <
[all...]
H A Dlow_latency.cpp155 if (chosen == NULL || chosen->load < irq->load)
157 totalLoad += irq->load;
H A Dpower_saving.cpp240 if (chosen == NULL || chosen->load < irq->load)
247 if (chosen == NULL || chosen->load < kLowLoad)
H A Dscheduler_cpu.cpp329 int32 load = std::max(threadData->GetLoad(), fCore->GetLoad()); local
330 ASSERT_PRINT(load >= 0 && load <= kMaxLoad, "load is out of range %"
331 B_PRId32 " (max of %" B_PRId32 " %" B_PRId32 ")", load,
334 if (load < kTargetLoad) {
335 int32 delta = kTargetLoad - load;
342 int32 delta = load - kTargetLoad;
379 kprintf("cpu priority load\n");
/haiku/src/system/libroot/posix/glibc/arch/sparc/
H A Dadd_n.S43 1: ldx [%o2+%o5],%g1 ! load s2 limb
45 ldx [%o1+%o5],%o3 ! load s1 limb
H A Dsub_n.S40 1: ldx [%o2+%o5],%g1 ! load s2 limb
42 ldx [%o1+%o5],%o3 ! load s1 limb
H A Dlshift.S35 ldx [%o1-8],%g2 ! load first limb
H A Drshift.S33 ldx [%o1],%g2 ! load first limb
/haiku/src/system/libroot/posix/glibc/arch/ppc/
H A Drshift.S39 lwz r11,0(r4) # load first s1 limb
/haiku/src/apps/haikudepot/build/scripts/
H A Djsonschema2cppmodel.py261 schema = json.load(inputfile)
H A Djsonschema2cppparser.py938 schema = json.load(inputfile)
/haiku/src/system/kernel/
H A Dint.cpp62 int32 load; member in struct:io_vector
146 kprintf("int %3d, type %s, enabled %" B_PRId32 ", load %" B_PRId32
151 ? sVectors[i].assigned_cpu->load / 10 : 0);
205 sVectors[i].load = 0;
218 sVectorCPUAssignments[i].load = 0;
256 int32 oldLoad = sVectors[i].load;
258 sVectors[i].load, system_time());
260 if (oldLoad != sVectors[i].load)
261 atomic_add(&sVectors[i].assigned_cpu->load, sVectors[i].load
[all...]
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp64 return obj.load(std::memory_order_acquire);
121 return obj.load(std::memory_order_acquire);
/haiku/src/tools/elfsymbolpatcher/
H A DElfFile.h120 ElfSection* SectionAt(int32 index, bool load = false);
/haiku/src/kits/tracker/
H A DTaskLoop.cpp278 float load = (float)(currentActivityLevel - fActivityLevel) local
284 load -= taskOverhead;
288 if (load > kIdleTreshold) {
289 // PRINT(("not idle enough %f\n", load));
293 // PRINT(("load %f, not idle long enough %lld, %lld\n", load,
301 PRINT(("load %f, idle for %lld sec, go\n", load,
/haiku/src/system/kernel/arch/riscv64/
H A DRISCV64VMTranslationMap.cpp195 if (!pte->load().isValid) {
212 pte = (std::atomic<Pte>*)VirtFromPhys(B_PAGE_SIZE * pte->load().ppn);
225 Pte pteVal = pte->load();
420 if (pte == NULL || !pte->load().isValid)
583 if (pte == NULL || !pte->load().isValid) {
655 Pte pteVal = pte->load();
703 if (pte == NULL || !pte->load().isValid) {
712 oldPte = pte->load();
776 if (pte == NULL || !pte->load().isValid)
796 if (pte == NULL || !pte->load()
[all...]
/haiku/src/add-ons/kernel/debugger/laplinkll/
H A Dlaplinkll.cpp453 bool load = true;//false; local
459 load = get_driver_boolean_parameter(handle,
460 "laplinkll_debug_output", load, true);
463 if (load) {
468 return load ? B_OK : B_ERROR;
/haiku/src/preferences/time/
H A DNetworkTimeView.cpp214 BMessage load;
215 if ((status = load.Unflatten(&file)) != B_OK)
218 if (load.what != kMsgNetworkTimeSettings)
221 fMessage = load;
/haiku/headers/private/netservices2/
H A DExclusiveBorrow.h74 bool IsBorrowed() noexcept { return (fState.load() & kBorrowed) == kBorrowed; }
79 if ((fState.load() & kBorrowed) == kBorrowed)
/haiku/headers/libs/agg/
H A Dagg_dda_line.h152 void load(const save_data_type* data) function in class:agg::dda2_line_interpolator

Completed in 259 milliseconds

12