Home
last modified time | relevance | path

Searched refs:lat (Results 1 – 25 of 76) sorted by relevance

1234

/OK3568_Linux_fs/kernel/Documentation/trace/
H A Dhistogram.rst1798 with 3 fields: lat, pid, and prio. Each of those fields is simply a
1802 u64 lat; \
1811 wakeup_latency u64 lat; pid_t pid; int prio
1816 # echo '!wakeup_latency u64 lat pid_t pid int prio' >> \
1828 # echo 'hist:keys=pid,prio,lat.log2:sort=pid,lat' >> \
1979 # echo 'wakeup_latency u64 lat; pid_t pid; int prio' >> \
2002 # echo 'hist:keys=pid,prio,lat:sort=pid,lat' >> \
2300 # echo 'latency u64 lat' > synthetic_events
2302 …# echo 'hist:keys=common_pid:lat=common_timestamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) i…
2303 # echo 'hist:keys=lat,common_pid:sort=lat' > events/synthetic/latency/trigger
[all …]
H A Dboottime-trace.rst155 fields = "unsigned long func", "u64 lat"
156 actions = "hist:keys=func.sym,lat:vals=lat:sort=lat"
162 …actions = "hist:keys=func:lat=common_timestamp.usecs-$ts0:onmatch(initcall.initcall_start).initcal…
/OK3568_Linux_fs/kernel/kernel/
H A Dlatencytop.c87 struct latency_record *lat) in account_global_scheduler_latency() argument
106 unsigned long record = lat->backtrace[q]; in account_global_scheduler_latency()
119 latency_record[i].time += lat->time; in account_global_scheduler_latency()
120 if (lat->time > latency_record[i].max) in account_global_scheduler_latency()
121 latency_record[i].max = lat->time; in account_global_scheduler_latency()
131 memcpy(&latency_record[i], lat, sizeof(struct latency_record)); in account_global_scheduler_latency()
155 struct latency_record lat; in __account_scheduler_latency() local
166 memset(&lat, 0, sizeof(lat)); in __account_scheduler_latency()
167 lat.count = 1; in __account_scheduler_latency()
168 lat.time = usecs; in __account_scheduler_latency()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/positioning/
H A Dqgeocoordinate.cpp73 lat(qQNaN()), in QGeoCoordinatePrivate()
80 lat(other.lat), in QGeoCoordinatePrivate()
243 d->lat = latitude; in QGeoCoordinate()
268 d->lat = latitude; in QGeoCoordinate()
308 bool latEqual = (qIsNaN(d->lat) && qIsNaN(other.d->lat)) in operator ==()
309 || qFuzzyCompare(d->lat, other.d->lat); in operator ==()
315 if (!qIsNaN(d->lat) && ((d->lat == 90.0) || (d->lat == -90.0))) in operator ==()
342 if (QLocationUtils::isValidLat(d->lat) in type()
363 return d->lat; in latitude()
376 d->lat = latitude; in setLatitude()
[all …]
H A Dqwebmercator.cpp57 double lat = coord.latitude(); in coordToMercator() local
58 lat = 0.5 - (std::log(std::tan((pi / 4.0) + (pi / 2.0) * lat / 180.0)) / pi) / 2.0; in coordToMercator()
59 lat = qBound(0.0, lat, 1.0); in coordToMercator()
61 return QDoubleVector2D(lon, lat); in coordToMercator()
82 double lat; in mercatorToCoord() local
85 lat = 90.0; in mercatorToCoord()
87 lat = -90.0; in mercatorToCoord()
89 lat = (180.0 / pi) * (2.0 * std::atan(std::exp(pi * (1.0 - 2.0 * fy))) - (pi / 2.0)); in mercatorToCoord()
100 return QGeoCoordinate(lat, lng, 0.0); in mercatorToCoord()
H A Dqlocationutils_p.h102 inline static bool isValidLat(double lat) { in isValidLat() argument
103 return lat >= -90.0 && lat <= 90.0; in isValidLat()
109 inline static double clipLat(double lat, double clipValue = 90.0) {
110 if (lat > clipValue)
111 lat = clipValue;
112 else if (lat < -clipValue)
113 lat = -clipValue;
114 return lat;
334 double *lat,
H A Dqgeocircle.cpp382 double lat = d->m_center.latitude(); in translate() local
385 lat += degreesLatitude; in translate()
390 if (lat > 90.0) { in translate()
391 lat = 180.0 - lat; in translate()
398 if (lat < -90.0) { in translate()
399 lat = 180.0 + lat; in translate()
406 d->setCenter(QGeoCoordinate(lat, lon)); in translate()
H A Dqlocationutils.cpp79 double lat; in qlocationutils_readGga() local
81 … if (QLocationUtils::getNmeaLatLong(parts[2], parts[3][0], parts[4], parts[5][0], &lat, &lng)) { in qlocationutils_readGga()
82 coord.setLatitude(lat); in qlocationutils_readGga()
163 double lat; in qlocationutils_readGll() local
165 … if (QLocationUtils::getNmeaLatLong(parts[1], parts[2][0], parts[3], parts[4][0], &lat, &lng)) { in qlocationutils_readGll()
166 coord.setLatitude(lat); in qlocationutils_readGll()
198 double lat; in qlocationutils_readRmc() local
200 … if (QLocationUtils::getNmeaLatLong(parts[3], parts[4][0], parts[5], parts[6][0], &lat, &lng)) { in qlocationutils_readRmc()
201 coord.setLatitude(lat); in qlocationutils_readRmc()
489 …tring, char latDirection, const QByteArray &lngString, char lngDirection, double *lat, double *lng) in getNmeaLatLong() argument
[all …]
H A Dqgeocoordinate_p.h66 double lat; variable
72 double *lon, double *lat);
/OK3568_Linux_fs/kernel/fs/ceph/
H A Dmetric.c241 ktime_t *sq_sump, ktime_t lat) in __update_latency() argument
246 lsum = (*lsump += lat); in __update_latency()
248 if (unlikely(lat < *min)) in __update_latency()
249 *min = lat; in __update_latency()
250 if (unlikely(lat > *max)) in __update_latency()
251 *max = lat; in __update_latency()
257 avg = DIV64_U64_ROUND_CLOSEST((lsum - lat), (total - 1)); in __update_latency()
258 sq = lat - avg; in __update_latency()
260 sq = sq * (lat - avg); in __update_latency()
268 ktime_t lat = ktime_sub(r_end, r_start); in ceph_update_read_latency() local
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/formulas/
H A Dspherical.hpp44 static inline void sph_to_cart3d(T const& lon, T const& lat, T & x, T & y, T & z) in sph_to_cart3d() argument
46 T const cos_lat = cos(lat); in sph_to_cart3d()
49 z = sin(lat); in sph_to_cart3d()
58 calc_t const lat = get_as_radian<1>(point_sph); in sph_to_cart3d() local
60 sph_to_cart3d(lon, lat, x, y, z); in sph_to_cart3d()
71 static inline void cart3d_to_sph(T const& x, T const& y, T const& z, T & lon, T & lat) in cart3d_to_sph() argument
74 lat = asin(z); in cart3d_to_sph()
94 coord_t lat = get<1>(res); in cart3d_to_sph() local
100 >(lon, lat); in cart3d_to_sph()
103 set<1>(res, lat); in cart3d_to_sph()
H A Dsjoberg_intersection.hpp44 CT & lon, CT & lat) in apply()
53 lat = atan(tan_lat); in apply()
307 sjoberg_geodesic(CT const& lon, CT const& lat, CT const& alpha, CT const& f) in sjoberg_geodesic() argument
309 , latj(lat) in sjoberg_geodesic()
321 tan_latj = tan(lat); in sjoberg_geodesic()
547 CT lat(CT const& t) const in lat() function in boost::geometry::formula::sjoberg_geodesic
553 void vertex(CT & lon, CT & lat) const in vertex()
558 lat = sjoberg_geodesic::lat(t0j); in vertex()
563 lat = math::pi<CT>() / c2; in vertex()
646 CT & lon, CT & lat, in apply() argument
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/geographic/
H A Dintersection.hpp185 set_from_radian<1>(point, lat); in assign()
206 CoordinateType lat; member
542 calc_t lon = 0, lat = 0; in apply() local
551 lon, lat, in apply()
583 sinfo.lat = lat; in apply()
692 CalcT & lon, CalcT & lat, // out in calculate_ip_data()
705 lat = a1_lat; in calculate_ip_data()
714 lat = a1_lat; in calculate_ip_data()
723 lat = a2_lat; in calculate_ip_data()
732 lat = a2_lat; in calculate_ip_data()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/util/
H A Dgeo.hpp26 double lat; member in mbgl::LatLng
33 : lat(lat_), lon(lon_) { in LatLng()
34 if (std::isnan(lat)) { in LatLng()
40 if (std::abs(lat) > 90.0) { in LatLng()
51 double latitude() const { return lat; } in latitude()
54 LatLng wrapped() const { return { lat, lon, Wrapped }; } in wrapped()
74 return a.lat == b.lat && a.lon == b.lon; in operator ==()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/tests/auto/declarative_ui/
H A Dtst_map_coordinateanimation.qml73 var lat = coord.latitude;
74 lat = 0.5 - (Math.log(Math.tan((pi / 4.0) + (pi / 2.0) * lat / 180.0)) / pi) / 2.0;
75 lat = Math.max(0.0, lat);
76 lat = Math.min(1.0, lat);
78 return {'latitude': lat, 'longitude': lon};
H A Dtst_map_itemview.qml68 ListElement { lat: 11; lon: 31 }
69 ListElement { lat: 12; lon: 32 }
70 ListElement { lat: 13; lon: 33 }
76 latitude: lat
265 ListElement { lat: 11; lon: 31 }
266 ListElement { lat: 12; lon: 32 }
267 ListElement { lat: 13; lon: 33 }
273 latitude: lat
467 testingListModel.append({ lat: 1, lon: 1 })
476 testingListModel.append({ "lat": 11, "lon": 31 })
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dwbt.h61 TP_PROTO(struct backing_dev_info *bdi, unsigned long lat),
63 TP_ARGS(bdi, lat),
67 __field(unsigned long, lat)
73 __entry->lat = div_u64(lat, 1000);
77 (unsigned long long) __entry->lat)
/OK3568_Linux_fs/kernel/drivers/s390/scsi/
H A Dzfcp_sysfs.c551 struct zfcp_latencies *lat = &zfcp_sdev->latencies; \
555 spin_lock_bh(&lat->lock); \
556 fsum = lat->_name.fabric.sum * adapter->timer_ticks; \
557 fmin = lat->_name.fabric.min * adapter->timer_ticks; \
558 fmax = lat->_name.fabric.max * adapter->timer_ticks; \
559 csum = lat->_name.channel.sum * adapter->timer_ticks; \
560 cmin = lat->_name.channel.min * adapter->timer_ticks; \
561 cmax = lat->_name.channel.max * adapter->timer_ticks; \
562 cc = lat->_name.counter; \
563 spin_unlock_bh(&lat->lock); \
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dfin_ack_lat.c37 unsigned long lat, sum_lat = 0, nr_lat = 0; in client() local
69 lat = timediff(start, end); in client()
70 sum_lat += lat; in client()
72 if (lat < 100000) in client()
78 ntohs(laddr.sin_port), lat, in client()
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A D.gitignore8 mqueue-lat
10 nsleep-lat
16 set-timer-lat
H A DMakefile7 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
/OK3568_Linux_fs/kernel/include/dt-bindings/usb/
H A Dpd.h341 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
343 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
346 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
348 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
352 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dpd_vdo.h362 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
364 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
367 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
369 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
371 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
373 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dpd_vdo.h362 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
364 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
367 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
369 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
371 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
373 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
H A DEventClass.py89 status, dla, dse, lat = struct.unpack('QQQQ', tmp_buf)
93 self.lat = lat

1234